etherpad port, assets
This commit is contained in:
@@ -2,7 +2,7 @@ server {
|
|||||||
listen 8080;
|
listen 8080;
|
||||||
|
|
||||||
location /assets {
|
location /assets {
|
||||||
alias /app/static;
|
alias /app/assets;
|
||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri/ =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -23,7 +23,7 @@ server {
|
|||||||
location /etherpad {
|
location /etherpad {
|
||||||
rewrite /etherpad/(.*) $1 break;
|
rewrite /etherpad/(.*) $1 break;
|
||||||
rewrite ^/etherpad$ /etherpad/ permanent;
|
rewrite ^/etherpad$ /etherpad/ permanent;
|
||||||
proxy_pass http://etherpad:8080;
|
proxy_pass http://etherpad:9001;
|
||||||
proxy_redirect / /etherpad/;
|
proxy_redirect / /etherpad/;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
|
|||||||
Reference in New Issue
Block a user