The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
1answer
38 views

Nginx Alias vs Rewrite

I have two working configurations that, on the surface, seem to do the same thing. They both accomplish the functionality that I need: ...
4
votes
1answer
26 views

Nginx setting .conf files appropriately

I use Nginx as a server, and I currently use this for configuration of each my sites. Basically, I have multiple files like this located in /etc/nginx/conf.d/ ...
2
votes
1answer
196 views

Is it possible to write this staging/release nginx config in a cleaner way?

I don't like how this config has so much duplication. Any suggestions on how to at least shorten it somewhat? Normally we only have one server block as the staging server is separate from production, ...
1
vote
1answer
59 views

Unduplicating prox_pass in nginx location blocks

I needed to IP block something in nginx and I ended up with duplicated proxy_forward code. How can I refactor and un-duplicate this? ...