mirror of
https://github.com/ArcticFoxes-net/Synapse-Docker-Compose.git
synced 2024-12-28 12:09:28 -05:00
Update reverse proxy configs
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
ea363f476b
commit
80a03b6a96
@ -5,14 +5,14 @@
|
||||
# or "set $upstream_app <HOSTIP>;" for host mode, HOSTIP being the IP address of element
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
server_name app.*;
|
||||
server_name element.*;
|
||||
|
||||
include /config/nginx/ssl.conf;
|
||||
add_header X-Frame-Options "SAMEORIGIN" always;
|
||||
|
||||
|
||||
client_max_body_size 0;
|
||||
|
||||
location / {
|
||||
|
@ -1,12 +1,12 @@
|
||||
# Version 2021/10/03
|
||||
# Version 2022/10/04
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
|
||||
# For the federation port
|
||||
listen 8448 ssl http2 default_server;
|
||||
listen [::]:8448 ssl http2 default_server;
|
||||
listen 8448 ssl http2;
|
||||
listen [::]:8448 ssl http2;
|
||||
|
||||
server_name matrix.*;
|
||||
|
||||
@ -55,7 +55,7 @@ server {
|
||||
set $upstream_port 8008;
|
||||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
|
||||
location /.well-known/matrix/client {
|
||||
default_type application/json;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
|
Loading…
Reference in New Issue
Block a user