mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
feat: added themes and other stuff
This commit is contained in:
parent
951928150e
commit
c7b32f0f31
18 changed files with 248 additions and 61 deletions
|
@ -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}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue