Add Port and Proto variables

This commit is contained in:
Eric Nemchik
2020-02-17 17:05:10 -06:00
parent a8c9468d1f
commit 0c24b78a0b
136 changed files with 856 additions and 260 deletions
+7 -4
View File
@@ -17,13 +17,16 @@ location ^~ /jenkins/ {
client_max_body_size 10m;
sendfile off;
include /config/nginx/proxy.conf;
proxy_max_temp_file_size 0;
proxy_temp_file_write_size 64k;
proxy_request_buffering off;
proxy_buffering off;
resolver 127.0.0.11 valid=30s;
set $upstream_app jenkins;
proxy_pass http://$upstream_app:8080;
}
set $upstream_app jenkins;
set $upstream_port 8080;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}