diff options
author | Sacha Chua <sacha@sachachua.com> | 2023-09-13 08:58:06 -0400 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2023-09-13 08:58:24 -0400 |
commit | 077112b718eb29aecf331b1e703e7e90d8538e6c (patch) | |
tree | 5eab58517501dce8c79101bb7740c5000c506511 /roles/pad-proxy/templates | |
parent | 366d6aec267f543f9a7b928778a09b80852346f3 (diff) | |
download | emacsconf-ansible-077112b718eb29aecf331b1e703e7e90d8538e6c.tar.xz emacsconf-ansible-077112b718eb29aecf331b1e703e7e90d8538e6c.zip |
add some more scripts, change 2022 to emacsconf_year
Diffstat (limited to '')
-rw-r--r-- | roles/pad-proxy/templates/etherpad.nginx.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/pad-proxy/templates/etherpad.nginx.conf b/roles/pad-proxy/templates/etherpad.nginx.conf index 3131178..144185f 100644 --- a/roles/pad-proxy/templates/etherpad.nginx.conf +++ b/roles/pad-proxy/templates/etherpad.nginx.conf @@ -38,7 +38,7 @@ server { {% if use_wikimedia %} location ~ ^/$ { - return 302 https://etherpad.wikimedia.org/p/emacsconf-2022; + return 302 https://etherpad.wikimedia.org/p/emacsconf-{{ emacsconf_year }}; } location / { rewrite /(.*) https://etherpad.wikimedia.org/p/emacsconf-$1 redirect; @@ -49,7 +49,7 @@ server { proxy_pass http://etherpad_upstream; } location / { - rewrite ^/?$ https://pad.emacsconf.org/2022 redirect; + rewrite ^/?$ https://pad.emacsconf.org/{{ emacsconf_year }} redirect; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |