diff --git a/compose.yml b/compose.yml index 5c1399f..db17372 100644 --- a/compose.yml +++ b/compose.yml @@ -23,12 +23,6 @@ services: - "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)" - "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure" - "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}" - - - "traefik.http.services.${STACK_NAME}-fedi.loadbalancer.server.port=8448" - - "traefik.http.routers.${STACK_NAME}-fedi.rule=Host(`${DOMAIN}`)" - - "traefik.http.routers.${STACK_NAME}-fedi.entrypoints=web-secure" - - "traefik.http.routers.${STACK_NAME}-fedi.tls.certresolver=${LETS_ENCRYPT_ENV}" - - "coop-cloud.${STACK_NAME}.version=0.1.0+v1.48.0" app: diff --git a/nginx.conf.tmpl b/nginx.conf.tmpl index e3758c9..e686567 100644 --- a/nginx.conf.tmpl +++ b/nginx.conf.tmpl @@ -12,13 +12,7 @@ http { include /etc/nginx/mime.types; server { - {{ if eq (env "DISABLE_FEDERATION") "1" }} listen 80 default_server; - {{ else }} - listen 80; - listen 8448 default_server; - {{ end }} - server_name {{ env "DOMAIN" }}; location ~* ^(\/_matrix|\/_synapse\/client) { @@ -28,12 +22,5 @@ http { proxy_set_header Host $host; client_max_body_size 50M; } - - {{ if eq (env "DISABLE_FEDERATION") "1" }} - location /.well-known/matrix/ { - deny all; - } - {{ end }} - } }