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:
@@ -8,9 +8,9 @@ proxy_cache_path /data/nginx/cache/dkui levels=1:2 keys_zone=dkui:10m max_size=1
|
||||
# dkui.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://tasks.dkui_app:9000;
|
||||
set $backend http://dkui_app:9000;
|
||||
|
||||
# listen 443 ssl ipv6only=off;
|
||||
listen 443 ssl;
|
||||
|
||||
Reference in New Issue
Block a user