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