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:
@@ -7,9 +7,10 @@ server {
|
||||
server_name git.xai-corp.net;
|
||||
|
||||
# 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:10080;
|
||||
set $backend http://gitea_app:10080;
|
||||
#set $backend http://dkhost.xai-corp.net:10080;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/xai-corp.net/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/xai-corp.net/privkey.pem;
|
||||
|
||||
Reference in New Issue
Block a user