Hi, I woud like to ask for help. My goal is to server mp4 video files via direct urls to my wordpress site (fluid player) at different server.
I managed to propagate folder with files http://46.4.57.176/
http://46.4.57.176/file_example_MP4_1280_10MG.mp4
Problem is that video plays in browser, VLC, except my wordpress site.
Here is a test post
https://pornovidea.online/uncategorized/test/
The loading wheel just keeps spinning.
Can you please help me fix this issue ?
Nginx.conf is down below (spent whole day figuring out to serve folder)
user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections 768;
}
http {
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
# server_tokens off;
# server_names_hash_bucket_size 64;
# server_name_in_redirect off;
include /etc/nginx/mime.types;
default_type application/octet-stream;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE
ssl_prefer_server_ciphers on;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
gzip on;
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
server {
server_name 46.4.57.176;
listen *:80;
location /{
root /media/user/data/;
index index.html;
autoindex on;
mp4;
mp4_buffer_size 1m;
mp4_max_buffer_size 5m;
# mp4_limit_rate on;
#mp4_limit_rate_after 30s;
}
I managed to propagate folder with files http://46.4.57.176/
http://46.4.57.176/file_example_MP4_1280_10MG.mp4
Problem is that video plays in browser, VLC, except my wordpress site.
Here is a test post
https://pornovidea.online/uncategorized/test/
The loading wheel just keeps spinning.
Can you please help me fix this issue ?
Nginx.conf is down below (spent whole day figuring out to serve folder)
user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections 768;
}
http {
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
# server_tokens off;
# server_names_hash_bucket_size 64;
# server_name_in_redirect off;
include /etc/nginx/mime.types;
default_type application/octet-stream;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE
ssl_prefer_server_ciphers on;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
gzip on;
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
server {
server_name 46.4.57.176;
listen *:80;
location /{
root /media/user/data/;
index index.html;
autoindex on;
mp4;
mp4_buffer_size 1m;
mp4_max_buffer_size 5m;
# mp4_limit_rate on;
#mp4_limit_rate_after 30s;
}