Repository navigation
Nginx Proxy Manager - Proxy Host Custom Locations #7323
Replies: 9 comments 12 replies
|
Did you solve this? I have the exact same problem. |
|
Got the same error, found this in /var/log/nginx/error.log: |
|
npm cant rewrite url's as far as I ever seen |
|
Use can't use container names, it has to be a resolveable domain or ip. I've had the same issue... |
|
I had this issue with Nginx & Authetix because authentik template for Nginx is trying to map a header in the wrong place. Create http_top.conf in data/nginx/custom (create custom folder in data/nginx/ if it doesn't exist). Note this was location in my docker, so location may vary. Add following code to the file: restart nginx remove the lines from top of the suggested authentik Nginx template that have this code Update the line in the authentik Nginx template that reads: To |
|
Does anyone know of a version of nginx proxy manager i can rollback to, so this works? also i am considering filing a bug about this, the documentation needs to be updated, and I tried tobymills suggestion but i imagine it works with bare metal nginx, not NPM |
|
Check the URL => #10010 (comment) Work for my NPM v2.11.3 and Authentik 2024.8.2 |


Uh oh!
There was an error while loading. Please reload this page.
Hello, I'm tyring to get "Custom Locations" working in NPM and I can't find much info for setting them up with Authentik. Most help seems to be aimed at subdomain.domain.tld instead of domain.tld/service when using Authentik.
I've made my setup using a sub-domain scheme and it works fine, but I'd like to duplicate the scheme I use in my local setup: http://host/service.
When I setup a cutom location scheme, I get an "offline" notice from NPM if I put the NGINX Proxy Manager snippet for Authentik in Edit Proxy Host>custom location>gear>custom nginx configuration, which I'm assuming is not a correct usage for the snippet.
I tried configuring it several other ways to get "/service" custom locations working, but reading the other discussion here is says it's better to put Authentik behind a reverse proxy, than to use it directly as the reverse proxy.
What I'm wondering is if there is a place I can read to figure out what the changes needed to NGINX Proxy Manager snippet to make it work for custom locations scheme.
All reactions