From d1373116901d647c2dcb121a32b1631070307996 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Mon, 28 Oct 2024 20:34:37 +0900 Subject: [PATCH] Switch 2024 to the archive --- config/nginx.conf.erb | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/config/nginx.conf.erb b/config/nginx.conf.erb index 6eeee81..6d9f41a 100644 --- a/config/nginx.conf.erb +++ b/config/nginx.conf.erb @@ -1,6 +1,6 @@ <% primary_host = ENV.fetch('PRIMARY_HOST', 'rko-router.herokuapp.com') %> <% platform = ENV.fetch("RKO_ROUTER_PLATFORM", "heroku") %> -<% current_year = '2024' %> +<% current_year = '2025' %> <% if platform == 'heroku' %> daemon off; @@ -390,7 +390,7 @@ http { proxy_pass https://2009-2011.rubykaigi.org; } - location ~ ^/202[2-3] { + location ~ ^/202[2-4] { include force_https.conf; proxy_hide_header Cache-Control; proxy_hide_header Expires; @@ -398,7 +398,7 @@ http { proxy_pass https://2009-2011.rubykaigi.org; } - location /2024 { + location /2025 { include force_https.conf; proxy_hide_header Cache-Control; proxy_hide_header Expires; @@ -406,13 +406,13 @@ http { proxy_pass https://gh-pages.rubykaigi.org; } - location /2025 { - include force_https.conf; - proxy_hide_header Cache-Control; - proxy_hide_header Expires; - add_header Cache-Control "public, max-age=0, s-maxage=0"; - proxy_pass https://gh-pages.rubykaigi.org; - } + # location /2026 { + # include force_https.conf; + # proxy_hide_header Cache-Control; + # proxy_hide_header Expires; + # add_header Cache-Control "public, max-age=0, s-maxage=0"; + # proxy_pass https://gh-pages.rubykaigi.org; + # } # current rubykaigi