Welcome! Log In Create A New Profile

Advanced

Share mp4 video files

Posted by Linux_noob_86 
Share mp4 video files
August 14, 2020 05:09AM
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;

}
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 68
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready