summaryrefslogtreecommitdiffstats
path: root/roles/pad-proxy
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--roles/pad-proxy/templates/etherpad.nginx.conf4
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;