Hi Francis,
Got to do rewrites, since otherwise nginx breaks urlencoded query parameters.
BR 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 [email protected]_______________________________________________nginx mailing list[email protected]https://mailman.nginx.org/mailman/listinfo/nginx
|
_______________________________________________
nginx mailing list
[email protected]
https://mailman.nginx.org/mailman/listinfo/nginx