From 85fc3a50830a4dea89b537f2fbb00dab28d68291 Mon Sep 17 00:00:00 2001 From: thehrz Date: Sat, 17 Aug 2024 23:22:53 +0800 Subject: [PATCH] pref: update nginx config --- docker-compose.yml | 12 +++++------- web | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b45cfb1..621bed0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,13 +24,11 @@ services: build: ./nginx container_name: ipv6-test-nginx restart: always - 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 + 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 diff --git a/web b/web index fe04e92..a6b4fe0 160000 --- a/web +++ b/web @@ -1 +1 @@ -Subproject commit fe04e92e04edc6faefa87a3121cc287544df32bd +Subproject commit a6b4fe0222e873bb27ee28f20cb6c1d4f02c0e51