diff --git a/docker-compose.yml b/docker-compose.yml index c90f6df..37527a2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 diff --git a/nginx/conf.d/www.conf b/nginx/conf.d/www.conf index 218882e..80d0b84 100644 --- a/nginx/conf.d/www.conf +++ b/nginx/conf.d/www.conf @@ -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/; } } \ No newline at end of file