Hello,
I was setting up Nginx as plugin in omv 3. It works like a charme . Only one thing .
I use no-ip to enter my website .
When i want to connect to a subdirectory of my site it gives me error '404 not found'
http://no-ip.url:9600/ gives me the root of the website
http://no-ip.url:9600/subdirectory gives me the error
Hope someone can help me .
this is my openmediavault-nginx file
server {
listen [::]:9600 default_server ipv6only=off;
set $root_path "/media/9bf2b533-9838-4fe1-bd3d-1224f5078306/www/";
root $root_path;
index index.php;
set $socket "unix:/var/run/fpm-166cbb10-f7ca-429c-9931-abb2480ab94c.sock";
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass $socket;
}
access_log /var/log/nginx/be25972e-51a7-480e-a3d3-285792f6e076-access.log;
error_log /var/log/nginx/be25972e-51a7-480e-a3d3-285792f6e076-error.log;
location ~ /\.ht {
deny all;
}
large_client_header_buffers 4 32k;
}