diff --git a/conf/nginx.conf b/conf/nginx.conf index 98bafc35..94bc4156 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -17,3 +17,13 @@ location __PATH__/ { fastcgi_param SCRIPT_FILENAME cas_server.php; } } + + +location _synapse/ { + proxy_pass http://localhost:__PORT__; + proxy_set_header X-Forwarded-For $remote_addr; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header Host $host; + + client_max_body_size 10M; +}