fix: update nginx config
This commit is contained in:
parent
c5992865fc
commit
e4fd5749c3
@ -30,7 +30,6 @@ services:
|
||||
- traefik.http.routers.ipv6-test.rule=Host(`ipv6-test.thehrz.net`)
|
||||
- traefik.http.routers.ipv6-test.entrypoints=web,websecure
|
||||
- traefik.http.routers.ipv6-test.tls.certresolver=letsencrypt
|
||||
- traefik.http.services.ipv6-test.loadbalancer.server.port=3000
|
||||
networks:
|
||||
- traefik
|
||||
- ipv6-test
|
||||
|
@ -1,7 +1,3 @@
|
||||
upstream backend {
|
||||
server ipv6-test-backend:8080;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
@ -17,13 +13,13 @@ server {
|
||||
gzip_vary on;
|
||||
|
||||
location / {
|
||||
proxy_pass http://frontend:3000;
|
||||
proxy_pass http://ipv6-test-frontend:3000;
|
||||
proxy_read_timeout 60;
|
||||
proxy_connect_timeout 60;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location ^~ /api/ {
|
||||
proxy_pass http://backend/;
|
||||
proxy_pass http://ipv6-test-backend:8080/;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user