update the host files to point to accessible docker container names for backends
added testing for this, including mock backend server.
This commit is contained in:
@@ -4,9 +4,9 @@ proxy_cache_path /data/nginx/cache/jenkins levels=1:2 keys_zone=jenkins:10m max_
|
||||
# jenkins.xai-corp.net
|
||||
server {
|
||||
# this is the internal Docker DNS, cache only for 30s
|
||||
#resolver 127.0.0.11 valid=30s;
|
||||
resolver 127.0.0.11 valid=5s;
|
||||
|
||||
set $backend http://dkhost.xai-corp.net:8080;
|
||||
set $backend http://jenkins_app:8080;
|
||||
|
||||
listen 443 ssl;
|
||||
server_name jenkins.xai-corp.net;
|
||||
|
||||
Reference in New Issue
Block a user