The nginx tag has no wiki summary.
1
vote
1answer
75 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
44 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?
server{
location /admin{
allow 123.90.250.0/24;
...