Welcome! Log In Create A New Profile

Advanced

Re: Mixing limit_except breaks rewrite functionality: workaround request

All files from this thread

File Name File Size   Posted by Date  
apple-touch-icon@2.png 6.4 KB open | download Sten Grüner 07/10/2023 Read message
Francis Daly
July 09, 2023 07:10PM
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 for
the "rewrite, rewrite, return, proxy_pass" sequence instead of just
using exactly "proxy_pass http://server:8081/;"

It looks like that should do what you want, so bugs in the handling of
more complicated configs would not apply.

Thanks,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Mixing limit_except breaks rewrite functionality: workaround request

Sten Gruener June 30, 2023 05:30AM

Re: Mixing limit_except breaks rewrite functionality: workaround request

Francis Daly July 09, 2023 07:10PM

Re: Mixing limit_except breaks rewrite functionality: workaround request Attachments

Sten Grüner July 10, 2023 12:28AM

Re: Mixing limit_except breaks rewrite functionality: workaround request

Francis Daly July 10, 2023 11:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 330
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready