fix traefik

This commit is contained in:
Exil Productions
2025-12-10 04:51:13 +01:00
parent 6f870887d5
commit cc1fc1bb15
2 changed files with 3 additions and 7 deletions

View File

@@ -8,9 +8,6 @@
"AllowedHosts": "*", "AllowedHosts": "*",
"Kestrel": { "Kestrel": {
"Endpoints": { "Endpoints": {
"Http": {
"Url": "http://0.0.0.0:8080"
},
"Https": { "Https": {
"Url": "https://0.0.0.0:443", "Url": "https://0.0.0.0:443",
"Certificate": { "Certificate": {

View File

@@ -14,10 +14,9 @@ services:
target: final target: final
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.purrlobby.rule=Host(`purrlobby.exil.dev`)" - "traefik.tcp.routers.purrlobby.entrypoints=websecure"
- "traefik.http.routers.purrlobby.entrypoints=websecure" - "traefik.tcp.routers.purrlobby.rule=HostSNI(`purrlobby.exil.dev`)"
- "traefik.http.routers.purrlobby.tls.certresolver=letsencrypt" - "traefik.tcp.services.purrlobby.loadbalancer.server.port=443"
- "traefik.http.services.purrlobby.loadbalancer.server.port=8080" # internal port your app listens on
# The commented out section below is an example of how to define a PostgreSQL # The commented out section below is an example of how to define a PostgreSQL