Do you have a premium license for Subsonic?
you might be able to use the http://yourname.subsonic.org address in Subsonic's network settings
Do you have a premium license for Subsonic?
you might be able to use the http://yourname.subsonic.org address in Subsonic's network settings
sub.conf looks like
location /subsonic {
proxy_pass http://localhost:4040/subsonic;
#proxy_set_header Host localhost:4040;
proxy_set_header Host 172.27.224.1
172.27.225.1
172.27.226.1
172.27.227.1
172.27.228.1
172.27.229.1
172.27.230.1
172.27.231.1
172.27.232.1
172.27.233.1
172.27.234.1
172.27.235.1
192.168.1.27;
proxy_redirect default;
}
I go in and replace the config with
location /subsonic {
proxy_pass http://localhost:4040/subsonic;
proxy_set_header Host localhost:4040;
#proxy_set_header Host ;
proxy_redirect default;
}
this works...the moment I select on the subsonic plugin gui in omv, the error generates and the config is replaced with the invalid headers.
I have tried purging the plugin and reinstalling, but I get the same result.
I was hoping someone would have an idea as to what I am doing wrong or why the plugin is generating these extra header arguments
When I enable the proxy pass option in the plugin I am met with this error
Error #4000:exception 'OMVException' with message 'Failed to execute command 'omv-mkconf subsonic getsettings': nginx: [emerg] invalid number of arguments in "proxy_set_header" directive in /etc/nginx/openmediavault-webgui.d/sub.conf:16' in /usr/share/openmediavault/engined/rpc/subsonic.inc:67Stack trace:#0 [internal function]: OMVRpcServiceSubsonic->getSettings(NULL, Array)#1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)#2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('getSettings', NULL, Array)#3 /usr/sbin/omv-engined(500): OMVRpc::exec('Subsonic', 'getSettings', NULL, Array, 1)#4 {main}