You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We installed Etherpad-Lite behind an Apache reverse proxy in a subpath (/etherpad). The admin interface (/etherpad/admin) does not load because it references JavaScript and CSS from the wrong path (/admin/assets/... instead of /etherpad/admin/assets/...)
Server (please complete the following information):
Etherpad version: Github / develop branch
OS: Debain Bookworm
Node.js version: v18.19.0
npm version: 10.8.0
Is the server free of plugins: yes
The text was updated successfully, but these errors were encountered:
You need to use the correct headers like X-Forwarded for. We have this in our nginx configuration
location /pad/admin {
rewrite /pad/admin/(.*) /admin/$1 break;
proxy_redirect / /pad/;
proxy_set_header X-Proxy-Path /pad;
proxy_pass http://127.0.0.1:9001;
proxy_buffering off; # be careful, this line doesn't override any proxy_buffering on set in a conf.d/file.conf
proxy_set_header Host $host;
proxy_pass_header Server;
# Note you might want to pass more headers etc too. See above configs.
}
Thank you, yes this resolved my initial problem - assets load fine. Admin interface still doesn't work, the browser can't establish a websocket connection.
Describe the bug
We installed Etherpad-Lite behind an Apache reverse proxy in a subpath (/etherpad). The admin interface (/etherpad/admin) does not load because it references JavaScript and CSS from the wrong path (/admin/assets/... instead of /etherpad/admin/assets/...)
Server (please complete the following information):
The text was updated successfully, but these errors were encountered: