allowed hosts

This commit is contained in:
root (lxc-fetsite-04)
2020-10-10 12:02:45 +02:00
parent b38a0d69fa
commit 971d68c06a
4 changed files with 16 additions and 4 deletions

View File

@@ -20,6 +20,15 @@ server {
}
location /etherpad {
rewrite /etherpad/(.*) $1 break;
rewrite ^/etherpad$ /etherpad/ permanent;
proxy_pass http://etherpad:8080;
proxy_redirect / /etherpad/;
proxy_set_header Host $host;
proxy_buffering off;
}
location / {
include uwsgi_params;
uwsgi_pass unix:///tmp/uwsgi.sock;