feat: added themes and other stuff

This commit is contained in:
Nick 2024-12-19 19:56:45 -06:00
parent 951928150e
commit c7b32f0f31
18 changed files with 248 additions and 61 deletions

View file

@ -14,12 +14,23 @@ in {
virtualHosts = {
"${host}" = {
extraConfig = ''
redir /.well-known/carddav /remote.php/dav/ 301
redir /.well-known/caldav /remote.php/dav/ 301
reverse_proxy ${localhost}:${toString service.ports.port1}
root * /var/lib/website
tls ${service.ssl.cert} ${service.ssl.key}
file_server
try_files {path} /index.html
encode gzip
header {
# Disable FLoC tracking
Permissions-Policy interest-cohort=()
# Enable HSTS
Strict-Transport-Security "max-age=31536000; includeSubDomains"
# Prevent MIME-type sniffing
X-Content-Type-Options nosniff
tls ${service.ssl.cert} ${service.ssl.key}
'';
};
};