Hi,
I'm new to OMV and to linux,
I setup an OMV box on a home server last week and I run into some issues about nginx and proxy pass.
When I try to activate nginx plugin I got an error :
Failed to execute command 'export LANG=C; nginx -t 2>&1': nginx: [emerg] "server_names_hash_bucket_size" directive is duplicate in /etc/nginx/conf.d/openmediavault-nginx.conf:1 nginx: configuration file /etc/nginx/nginx.conf test failed
content of /etc/nginx/conf.d/openmediavault-nginx.conf
server_names_hash_bucket_size 32;
when I try to activate proxy pass for e.g. subsonic I have another error message :
Failed to execute command 'omv-mkconf subsonic getsettings': nginx: [emerg] "server_names_hash_bucket_size" directive is duplicate in /etc/nginx/conf.d/openmediavault-nginx.conf:1
here is the content of /etc/nginx/openmediavault-webgui.d/sub.conf
location /subsonic {
proxy_pass http://localhost:4040/subsonic;
#proxy_set_header Host localhost:4040;
proxy_set_header Host ;
proxy_redirect default;
}
I tried to remove nginx and reinstalling, still the same problems.
I have the same proxy pass problem on every plugin where I can activate it (sabnzbd...)
If anyone has any idea for these bugs, I'd like to have access to differents plugins this way : mydomain.com/servicepluginname or servicepluginname.mydomain.com and not having to remember and open all ports on my router.
thanks for help