pref: update nginx config
This commit is contained in:
parent
0e5ca9b0a4
commit
02c80d06d6
@ -24,11 +24,13 @@ services:
|
|||||||
build: ./nginx
|
build: ./nginx
|
||||||
container_name: ipv6-test-nginx
|
container_name: ipv6-test-nginx
|
||||||
restart: always
|
restart: always
|
||||||
labels:
|
ports:
|
||||||
- traefik.enable=true
|
- 80:80
|
||||||
- traefik.http.routers.ipv6-test.rule=Host(`test.ipv6test.online`) || Host(`4.ipv6test.online`) || Host(`6.ipv6test.online`)
|
# labels:
|
||||||
- traefik.http.routers.ipv6-test.entrypoints=web,websecure
|
# - traefik.enable=true
|
||||||
- traefik.http.routers.ipv6-test.tls.certresolver=letsencrypt
|
# - 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:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
- ipv6-test
|
- ipv6-test
|
||||||
|
@ -13,5 +13,8 @@ server {
|
|||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://ipv6-test-backend:8080/;
|
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