Update static website URLs and redirects
Swap order for main URLs, without www no redirects to with www Remove blog subdomain, make a page under normal site
This commit is contained in:
parent
5bf9803f13
commit
fa74d8a36d
|
@ -4,17 +4,12 @@
|
|||
enable = true;
|
||||
email = "evie@xenia.me.uk";
|
||||
virtualHosts = {
|
||||
"www.xenia.me.uk".extraConfig = ''
|
||||
redir https://xenia.me.uk
|
||||
'';
|
||||
"xenia.me.uk".extraConfig = ''
|
||||
file_server * {
|
||||
root /var/www/landing/
|
||||
}
|
||||
redir https://www.xenia.me.uk
|
||||
'';
|
||||
"blog.xenia.me.uk".extraConfig = ''
|
||||
"www.xenia.me.uk".extraConfig = ''
|
||||
file_server * {
|
||||
root /var/www/blog/
|
||||
root /var/www/xenia.me.uk/
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue