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;
|
enable = true;
|
||||||
email = "evie@xenia.me.uk";
|
email = "evie@xenia.me.uk";
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"www.xenia.me.uk".extraConfig = ''
|
|
||||||
redir https://xenia.me.uk
|
|
||||||
'';
|
|
||||||
"xenia.me.uk".extraConfig = ''
|
"xenia.me.uk".extraConfig = ''
|
||||||
file_server * {
|
redir https://www.xenia.me.uk
|
||||||
root /var/www/landing/
|
|
||||||
}
|
|
||||||
'';
|
'';
|
||||||
"blog.xenia.me.uk".extraConfig = ''
|
"www.xenia.me.uk".extraConfig = ''
|
||||||
file_server * {
|
file_server * {
|
||||||
root /var/www/blog/
|
root /var/www/xenia.me.uk/
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue