I want to use NGINX to as a proxy to get to Deluge which is inside my home network (NGINX is publically available).
This configuration works:
location 8112;
location / {
proxy_pass http://deluge_address:8112;
}
However I'd like to use an address in form of http://nginx_address/deluge
to be proxied to internal http://deluge_address:8112
.
I tried the following:
location /deluge/ {
proxy_pass http://deluge_address:8112/;
}
(I tried different combinations of trailing /
- none work).
But I get 404 Not found
instead.
I have some knowledge about networks, but not too much. Does anybody have any idea what I'm doing wrongly?