Fix indentation

This commit is contained in:
fi 2024-01-28 22:03:15 +01:00
parent 2ae1ad3604
commit d8d0236870
Signed by: fi
SSH key fingerprint: SHA256:8DRwxuvrMOdTQEujJX6mkVEAzdPm6Fl9yJu+syGKBqM

View file

@ -34,6 +34,7 @@
return = "302 https://spaceapi.hamburg.ccc.de/"; return = "302 https://spaceapi.hamburg.ccc.de/";
}; };
# Add .well-known/matrix stuff for Matrix to work.
locations."/.well-known/matrix/server" = { locations."/.well-known/matrix/server" = {
return = "200 '{\"m.server\": \"matrix.hamburg.ccc.de:443\"}'"; return = "200 '{\"m.server\": \"matrix.hamburg.ccc.de:443\"}'";
extraConfig = '' extraConfig = ''
@ -47,6 +48,7 @@
add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Origin *;
''; '';
}; };
# Redirect pages starting with 4 digits for redirecting the old blog # Redirect pages starting with 4 digits for redirecting the old blog
# article URLs. # article URLs.
# We want to redirect /yyyy/mm/dd/slug to /blog/yyyy/mm/dd/slug, but we # We want to redirect /yyyy/mm/dd/slug to /blog/yyyy/mm/dd/slug, but we