Skip to content

Commit

Permalink
Merge pull request #377 from PxBCPG/master
Browse files Browse the repository at this point in the history
Add /_synpase/ path to nginx
  • Loading branch information
Josue-T committed May 10, 2023
2 parents 3135a53 + 3dbd81e commit 6552d5b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions conf/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 6552d5b

Please sign in to comment.