Add redirect for www subdomain to main page
This commit is contained in:
parent
cbd7c41938
commit
ca4f2d055a
|
@ -4,6 +4,9 @@
|
||||||
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 * {
|
file_server * {
|
||||||
root /var/www/landing/
|
root /var/www/landing/
|
||||||
|
|
Loading…
Reference in a new issue