fix urllib3-future

This commit is contained in:
XenGi 2026-11-16 23:27:21 +01:00
commit c1b324beec
Signed by: xengi
SSH key fingerprint: SHA256:EvLbWxFCtfmd+8Xa6RkzkhIga+wFkKCekfFacYVn63M

View file

@ -23,7 +23,9 @@ in
enableACME = true;
extraConfig = ''
add_header Strict-Transport-Security max-age=15768000;
error_log syslog:server=unix:/dev/log,tag=${builtins.replaceStrings [ "." ] [ "_" ] "mta-sts.${config.networking.domain}"} warn;
error_log syslog:server=unix:/dev/log,tag=${
builtins.replaceStrings [ "." ] [ "_" ] "mta-sts.${config.networking.domain}"
} warn;
access_log syslog:server=unix:/dev/log vhost_combined;
'';
locations."= /.well-known/mta-sts.txt" = {
@ -43,7 +45,9 @@ in
extraConfig = ''
# HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months)
add_header Strict-Transport-Security max-age=15768000;
error_log syslog:server=unix:/dev/log,tag=${builtins.replaceStrings [ "." ] [ "_" ] "www.${config.networking.domain}"} warn;
error_log syslog:server=unix:/dev/log,tag=${
builtins.replaceStrings [ "." ] [ "_" ] "www.${config.networking.domain}"
} warn;
access_log syslog:server=unix:/dev/log vhost_combined;
'';
locations = {
@ -109,7 +113,9 @@ in
forceSSL = true;
enableACME = true;
extraConfig = ''
error_log syslog:server=unix:/dev/log,tag=${builtins.replaceStrings [ "." ] [ "_" ] "staging.${config.networking.domain}"} warn;
error_log syslog:server=unix:/dev/log,tag=${
builtins.replaceStrings [ "." ] [ "_" ] "staging.${config.networking.domain}"
} warn;
access_log syslog:server=unix:/dev/log vhost_combined;
'';
locations = {