From e8d67b7b7b3f96736f9b0816bca00eaddc3149a3 Mon Sep 17 00:00:00 2001 From: thehrz Date: Sun, 18 Aug 2024 20:54:34 +0800 Subject: [PATCH] pref: update nginx config --- docker-compose.yml | 3 +-- nginx/conf.d/root.conf | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 621bed0..85326de 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -26,9 +26,8 @@ services: 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.rule=Host(`ipv6test.online`) || 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 diff --git a/nginx/conf.d/root.conf b/nginx/conf.d/root.conf index c6d13a6..695904b 100644 --- a/nginx/conf.d/root.conf +++ b/nginx/conf.d/root.conf @@ -1,5 +1,6 @@ server { listen [::]:80; + listen 80; server_name ipv6test.online; gzip on;