What I was asking was if it's possible to do an "or"/"else" type statement. Example (fake, obviously): location / or @404 { stuff } Instead of having two separate location directives.by Zerxer - How to...
One more question. Is it possible to make a 'location' directive reference 2? Since "location /" for us already does the proxy_pass stuff, is there a way to make that location line handle both / and @whatever? So we don't have to duplicate all the proxy_pass code? If not, oh well. Thanks for the help so far.by Zerxer - How to...
Does making the location be named something like @location make it not overwrite the actual location from being the filename? Because the person who showed me the error_page 404 thing actually had something like this: error_page 404 @fallback location @fallback { proxy_pass stuff }by Zerxer - How to...
Hello, we're currently using Nginx to serve all static files and sending the rest of the requests to Apache. I need a way to have Apache handle the request if the requested static file does not exist instead of Nginx still handling it and serving its 404 page. Someone in the IRC showed me how to make 404s redirect to another location but then that doesn't let Apache know what the actual requestby Zerxer - How to...