allowed hosts
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user