Hi Francis,
Got to do rewrites, since otherwise nginx breaks urlencoded query parameters.
BR Am 10.07.2023 um 01:09 schrieb Francis Daly <fran...@daoine.org>:
On Fri, Jun 30, 2023 at 11:29:21AM +0200, Sten Gruener wrote:Hi there,I trying to mix authentication for POST requests with some
rewrite/proxy_pass logic. This mean that password is required only on
POST/PUT requests.
This does not answer the question you asked, but is there a reason forthe "rewrite, rewrite, return, proxy_pass" sequence instead of justusing exactly "proxy_pass http://server:8081/;"It looks like that should do what you want, so bugs in the handling ofmore complicated configs would not apply.Thanks, f-- Francis Daly fran...@daoine.org_______________________________________________nginx mailing listnginx@nginx.orghttps://mailman.nginx.org/mailman/listinfo/nginx
|
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx