Compare commits

...

2 Commits

Author SHA1 Message Date
fkwp
4dc5268bbf adapt nginx reverse proxy for element web 2025-05-15 21:40:48 +02:00
Timo
2295040515 Do not try accessing ports <1024 2025-05-14 15:46:52 +02:00
2 changed files with 5 additions and 6 deletions

View File

@@ -145,11 +145,11 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://element-web:81;
proxy_pass http://element-web:8081;
proxy_ssl_verify off;
}
error_page 500 502 503 504 /50x.html;
}
}

View File

@@ -73,11 +73,11 @@ services:
image: ghcr.io/element-hq/element-web:develop
pull_policy: always
volumes:
- ./backend/ew.test.config.json:/app/config.json
- ./backend/ew.test.config.json:/app/config.json:Z
environment:
ELEMENT_WEB_PORT: 81
ELEMENT_WEB_PORT: 8081
ports:
- "8081:81"
- "8081:8081"
networks:
- ecbackend
@@ -91,7 +91,6 @@ services:
- ./backend/dev_tls_m.localhost.crt:/root/ssl/cert.pem:Z
ports:
# HOST_PORT:CONTAINER_PORT
- "80:80"
- "443:443"
- "8008:80"
- "4443:443"