To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Verified Commit 50b5a91a authored by Sandro Lutz's avatar Sandro Lutz
Browse files

Enhance nginx config

Fixes #5
parent 7679f7d9
Pipeline #58779 passed with stages
in 10 minutes and 8 seconds
......@@ -34,6 +34,11 @@ server {
expires +1y;
}
location ~* ^/(en|de)/(events|studydocuments|jobs)/([a-z0-9]+)$ {
error_page 404 /$1/404/index.html;
try_files $uri /$1/$2/index.html =404;
}
location ~* ^/(en|de)/ {
error_page 404 /$1/404/index.html;
try_files $uri $uri/index.html =404;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment