WIP remove nginx proxying for now

See https://git.coopcloud.tech/coop-cloud/matrix-synapse/issues/20
This commit is contained in:
cellarspoon
2021-12-13 16:40:47 +01:00
parent 33d6f5819c
commit 047dac8d21
2 changed files with 11 additions and 53 deletions

View File

@ -1,26 +0,0 @@
user www-data;
events {
worker_connections 768;
}
http {
upstream backend {
server {{ env "STACK_NAME" }}_app:8008;
}
include /etc/nginx/mime.types;
server {
listen 80 default_server;
server_name {{ env "DOMAIN" }};
location / {
proxy_pass http://backend;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $host;
client_max_body_size 50M;
}
}
}