Fix: use ^~ for Jenkins to override regex static locations
This commit is contained in:
@@ -20,7 +20,7 @@ server {
|
|||||||
|
|
||||||
root /var/www/public;
|
root /var/www/public;
|
||||||
|
|
||||||
location /jenkins/ {
|
location ^~ /jenkins/ {
|
||||||
proxy_pass http://jenkins:8080;
|
proxy_pass http://jenkins:8080;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|||||||
Reference in New Issue
Block a user