Add redirect for www subdomain to main page

This commit is contained in:
Evie Litherland-Smith 2024-04-08 11:46:33 +01:00
parent cbd7c41938
commit ca4f2d055a

View file

@ -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/