Skip to content

Commit 3094d08

Browse files
committed
examples
1 parent ef731cc commit 3094d08

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

examples/apache/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ services:
4141
- "traefik.http.services.wsc.loadbalancer.server.port=80"
4242
- "traefik.http.services.wsc.loadbalancer.server.scheme=http" # when "https" then set "--serversTransport.insecureSkipVerify=true" for traefik
4343
# http
44-
- "traefik.http.routers.wsc-http.rule=Host(`${DOMAIN}`)"
44+
- "traefik.http.routers.wsc-http.rule=Host(`${DOMAIN}`) && PathPrefix(`/`)"
4545
- "traefik.http.routers.wsc-http.entrypoints=web"
4646
- "traefik.http.routers.wsc-http.service=wsc"
4747
# https
4848
- "traefik.http.routers.wsc-https.tls=true"
49-
- "traefik.http.routers.wsc-https.rule=Host(`${DOMAIN}`)"
49+
- "traefik.http.routers.wsc-https.rule=Host(`${DOMAIN}`) && PathPrefix(`/`)"
5050
- "traefik.http.routers.wsc-https.entrypoints=websecure"
5151
- "traefik.http.routers.wsc-https.service=wsc"
5252
# load middlewares for routes

examples/fpm-nginx-aio/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ services:
3838
- "traefik.http.services.wsc.loadbalancer.server.port=80"
3939
- "traefik.http.services.wsc.loadbalancer.server.scheme=http" # when "https" then set "--serversTransport.insecureSkipVerify=true" for traefik
4040
# http
41-
- "traefik.http.routers.wsc-http.rule=Host(`${DOMAIN}`)"
41+
- "traefik.http.routers.wsc-http.rule=Host(`${DOMAIN}`) && PathPrefix(`/`)"
4242
- "traefik.http.routers.wsc-http.entrypoints=web"
4343
- "traefik.http.routers.wsc-http.service=wsc"
4444
# https
4545
- "traefik.http.routers.wsc-https.tls=true"
46-
- "traefik.http.routers.wsc-https.rule=Host(`${DOMAIN}`)"
46+
- "traefik.http.routers.wsc-https.rule=Host(`${DOMAIN}`) && PathPrefix(`/`)"
4747
- "traefik.http.routers.wsc-https.entrypoints=websecure"
4848
- "traefik.http.routers.wsc-https.service=wsc"
4949
# load middlewares for routes

examples/fpm-nginx-dhi/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ services:
2121

2222
# https://dhi.io/catalog/nginx
2323
wsc-nginx:
24-
image: dhi.io/nginx:1.29-debian13
24+
image: dhi.io/nginx:1.28-debian13
2525
container_name: wsc-nginx
2626
restart: unless-stopped
2727
#ports:

examples/fpm-nginx/docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ services:
3838
# https://hub.docker.com/_/nginx + https://github.com/nginxinc/docker-nginx
3939
# https://hub.docker.com/r/nginxinc/nginx-unprivileged + https://github.com/nginx/docker-nginx-unprivileged
4040
wsc-nginx:
41-
image: docker.io/library/nginx:1.29
42-
#image: docker.io/nginxinc/nginx-unprivileged:1.29
41+
image: docker.io/library/nginx:1.28
42+
#image: docker.io/nginxinc/nginx-unprivileged:1.28
4343
container_name: wsc-nginx
4444
restart: unless-stopped
4545
#ports:
@@ -61,12 +61,12 @@ services:
6161
- "traefik.http.services.wsc.loadbalancer.server.port=8080"
6262
- "traefik.http.services.wsc.loadbalancer.server.scheme=http" # when "https" then set "--serversTransport.insecureSkipVerify=true" for traefik
6363
# http
64-
- "traefik.http.routers.wsc-http.rule=Host(`${DOMAIN}`)"
64+
- "traefik.http.routers.wsc-http.rule=Host(`${DOMAIN}`) && PathPrefix(`/`)"
6565
- "traefik.http.routers.wsc-http.entrypoints=web"
6666
- "traefik.http.routers.wsc-http.service=wsc"
6767
# https
6868
- "traefik.http.routers.wsc-https.tls=true"
69-
- "traefik.http.routers.wsc-https.rule=Host(`${DOMAIN}`)"
69+
- "traefik.http.routers.wsc-https.rule=Host(`${DOMAIN}`) && PathPrefix(`/`)"
7070
- "traefik.http.routers.wsc-https.entrypoints=websecure"
7171
- "traefik.http.routers.wsc-https.service=wsc"
7272
# load middlewares for routes

0 commit comments

Comments
 (0)