Hi everyone. I'm trying to get Nginx to run some Regex's on requests and send them to another server block, returning the response headers from the second server block. At the moment I get a 302 response status, how do I get the headers from the second server block? So as an example, I would like a request like: http://nginxrouting.local/some/stuff/that/needs/to/be/removed/itemid=1234/more/by i0n - Nginx Mailing List - English
Hi there! Apologies if this is covered anywhere, but if it is I can't find it! Basically I need to know how to use try_files if the request method is GET, if it's not I want it to skip straight to passenger. My config currently looks like this: server { server_name railsapp.local; root /Users/i0n/Sites/railsapp/public; location / { try_files $uriby i0n - How to...
![]() |
![]() |
![]() |
![]() |
|