regex - Use same settings for two different locations on nginx -
i have following configs @ nginx.conf:
location /records/load.js { proxy_next_upstream off; proxy_pass http://scala-front; break; } location /features/download.csv { proxy_next_upstream off; proxy_pass http://scala-front; break; }
as can see, both locations share same settings. there anyway configure multiple locations same settings have 1 block? (i've tried regex far can't figure out how work slashes locations containing slashes).
thanks
Comments
Post a Comment