fix(tazjin/homepage): Fix configuration settings after page moves

My personal pages have moved out of //web, and various changes were
necessary to keep everything working.

Change-Id: I2f81fdd8ba2ce2ce6fea7e329bbdcda6092cc8a6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/604
Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
Vincent Ambo 2020-06-26 20:28:06 +01:00 committed by tazjin
parent a2cbbedc65
commit 351ed4f044
3 changed files with 9 additions and 9 deletions

View file

@ -321,11 +321,11 @@ in lib.fix(self: {
serverAliases = [ "camden.tazj.in" ];
default = true;
useACMEHost = "tazj.in";
root = depot.web.homepage;
root = depot.users.tazjin.homepage;
forceSSL = true;
extraConfig = ''
${depot.web.blog.oldRedirects}
${depot.users.tazjin.blog.oldRedirects}
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
@ -334,7 +334,7 @@ in lib.fix(self: {
}
location /blog/ {
alias ${depot.web.blog.rendered}/;
alias ${depot.users.tazjin.blog.rendered}/;
if ($request_uri ~ ^/(.*)\.html$) {
return 302 /$1;