pref: update nginx config
This commit is contained in:
parent
0e5ca9b0a4
commit
02c80d06d6
@ -24,11 +24,13 @@ services:
|
||||
build: ./nginx
|
||||
container_name: ipv6-test-nginx
|
||||
restart: always
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.ipv6-test.rule=Host(`test.ipv6test.online`) || Host(`4.ipv6test.online`) || Host(`6.ipv6test.online`)
|
||||
- traefik.http.routers.ipv6-test.entrypoints=web,websecure
|
||||
- traefik.http.routers.ipv6-test.tls.certresolver=letsencrypt
|
||||
ports:
|
||||
- 80:80
|
||||
# labels:
|
||||
# - traefik.enable=true
|
||||
# - traefik.http.routers.ipv6-test.rule=Host(`test.ipv6test.online`) || Host(`4.ipv6test.online`) || Host(`6.ipv6test.online`)
|
||||
# - traefik.http.routers.ipv6-test.entrypoints=web,websecure
|
||||
# - traefik.http.routers.ipv6-test.tls.certresolver=letsencrypt
|
||||
networks:
|
||||
- traefik
|
||||
- ipv6-test
|
||||
|
@ -13,5 +13,8 @@ server {
|
||||
|
||||
location / {
|
||||
proxy_pass http://ipv6-test-backend:8080/;
|
||||
proxy_read_timeout 60;
|
||||
proxy_connect_timeout 60;
|
||||
proxy_redirect off;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user