Redirect old feed location to new one for CCCHH website

This commit is contained in:
June 2024-01-23 19:57:20 +01:00
parent c83f1faaa7
commit 7ce5c934df
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0

View file

@ -63,6 +63,11 @@
return = "302 https://wiki.hamburg.ccc.de/club:geschichte";
};
# Redirect old feed location.
locations."/feed.xml" = {
return = "302 https://$host/blog/index.xml";
};
extraConfig = ''
# Make use of the ngx_http_realip_module to set the $remote_addr and
# $remote_port to the client address and client port, when using proxy