Question: How to implement the limit_except directive? #317
-
I have successfully implement basic auth on my main route / for my application by adding the data/htpasswd file named Now I want to add a limit_except directive like:
Basically any route any method should ask for auth with exception of POST /api I tried quite a few different solutions but none of them worked. I hoped I can find an answer here ;) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello @cocoonkid! Thanks for you question. Here is some help how you may customize the nginx-proxy or even only a few hosts, follow the link below to the nginx-proxy documentation: https://github.com/nginx-proxy/nginx-proxy#custom-nginx-configuration Hope it helps! |
Beta Was this translation helpful? Give feedback.
Hello @cocoonkid!
Thanks for you question.
Here is some help how you may customize the nginx-proxy or even only a few hosts, follow the link below to the nginx-proxy documentation:
https://github.com/nginx-proxy/nginx-proxy#custom-nginx-configuration
Hope it helps!