diff options
| author | Sacha Chua <sacha@sachachua.com> | 2026-05-10 15:00:00 -0400 |
|---|---|---|
| committer | Sacha Chua <sacha@sachachua.com> | 2026-05-10 15:00:00 -0400 |
| commit | c212767a1fc866d526ab46d8288ae2825709fdc4 (patch) | |
| tree | db5dd5ea55fded89a8d928cfbd00743a28a24029 | |
| parent | a3e565b3b9074afd912e38e0ee85ecd8bf0ad1cf (diff) | |
| download | emacsconf-ansible-c212767a1fc866d526ab46d8288ae2825709fdc4.tar.xz emacsconf-ansible-c212767a1fc866d526ab46d8288ae2825709fdc4.zip | |
Be more selective about emacsconf pad redirect
| -rw-r--r-- | roles/pad-proxy/templates/etherpad.nginx.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/pad-proxy/templates/etherpad.nginx.conf b/roles/pad-proxy/templates/etherpad.nginx.conf index b657b98..2c285af 100644 --- a/roles/pad-proxy/templates/etherpad.nginx.conf +++ b/roles/pad-proxy/templates/etherpad.nginx.conf @@ -24,6 +24,9 @@ server { proxy_buffering off; proxy_pass http://etherpad_upstream; } + location /emacsconf/?$ { + return 301 /p/{{ emacsconf_year }}; + } location /p/ { rewrite ^/p/(.*) /$1 redirect; } |
