add web_client_location

This commit is contained in:
Moritz
2024-07-26 12:57:21 +02:00
parent 2c8dc7c960
commit f13856b14c
5 changed files with 18 additions and 2 deletions

View File

@ -13,6 +13,15 @@ http {
server_name {{ env "DOMAIN" }};
location = / {
proxy_pass http://{{ env "STACK_NAME"}}_app:8008;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Host $host;
client_max_body_size 50M;
proxy_http_version 1.1;
}
location ~* ^(\/_matrix|\/_synapse\/client) {
proxy_pass http://{{ env "STACK_NAME"}}_app:8008;
proxy_set_header X-Forwarded-For $remote_addr;