jbrodriguez Posted September 12, 2017 Share Posted September 12, 2017 The core idea is to allow unRAID's nginx instance to serve as reverse proxy to dockers and plugins, so you don't need an additional nginx (via a docker or such). Currently, /etc/nginx/nginx.conf has an include at the bottom include /etc/nginx/conf.d/*.conf; You could specify a nzbget.conf here and create a server block with a location to proxy 'http(s)://<ip|host>/nzbget' to the nzbget docker, for example. The issue is that the generated emhttp-servers.conf sets its main server block as a 'default_server', so it catches all urls directed at the server. Any other server block is essentially ignored, so nzbget.conf's server/location wouldn't work. The request is to have a include /etc/nginx/conf.d/locations/*.conf; as the last line of emhttp-servers.conf's server block. This way nzbget.conf would need just a location block and it would be picked by the main config file. The integrity of emhttp-servers.conf would still be enforced by nginx_test_conf. Hope you can accommodate this. Any other idea/suggestion would be welcome. Quote Link to comment
smdion Posted September 17, 2017 Share Posted September 17, 2017 I like this idea.... maybe put it in the feature requests and see if it gets traction? Quote Link to comment
jbrodriguez Posted September 19, 2017 Author Share Posted September 19, 2017 Yes, I will eventually do that Although, I can live without it, not a pressing matter Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.