Fix indentation
This commit is contained in:
parent
2ae1ad3604
commit
d8d0236870
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue