If you’re going to be playing with custom locations and such, it might be worth using nginx directly instead of through the limitations of NPM.
Comment on How do I redirect to a /path with Nginx Proxy Manager?
Sunny@slrpnk.net 1 month agoAhhh i got it working now! Thanks a bunch for the help, been trying to get this to work for hours now hehe
K3can@lemmy.radio 1 month ago
TedZanzibar@feddit.uk 1 month ago
Just tried this myself and mine does the same thing but I don’t have anything set in the custom locations tab. What did you do to resolve it?
Sunny@slrpnk.net 1 month ago
Remove any custom locations (if u have tried to add any), and then simply copy paste this into the advanced tab. Dont forget to change the <IP+PORT>
Let me know how it goes :)
TedZanzibar@feddit.uk 1 month ago
Yeah that’s exactly what I’d done but it was insisting on trying to redirect me to the site on port 4443 for some reason.
Fixed it in the end by reverting the NPM config to default (no advanced settings) and instead using Pihole’s
VIRTUAL_HOST=pihole.mydomain.internal
environment variable in the Docker compose file.Cheers for your help anyway!