mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
flake: merge
This commit is contained in:
commit
a8d5b29a85
2 changed files with 41 additions and 40 deletions
|
|
@ -24,12 +24,6 @@
|
|||
|
||||
# Hardened TLS and HSTS preloading
|
||||
appendHttpConfig = ''
|
||||
# Most important header
|
||||
add_header meow "nya!";
|
||||
add_header pronouns "any but neopronouns";
|
||||
add_header gender "maybe";
|
||||
add_header locale "[en_US, nl_NL]";
|
||||
|
||||
# Add HSTS header with preloading to HTTPS requests.
|
||||
# Do not add HSTS header to HTTP requests.
|
||||
map $scheme $hsts_header {
|
||||
|
|
@ -48,6 +42,13 @@
|
|||
|
||||
# # This might create errors
|
||||
# # proxy_cookie_path / "/; secure; HttpOnly; SameSite=strict";
|
||||
|
||||
# Most important headers
|
||||
add_header meow "nya!";
|
||||
add_header matrix "https://matrix.to/#/@liv:liv.town"
|
||||
add_header pronouns "any but neopronouns";
|
||||
add_header gender "maybe";
|
||||
add_header locale "[en_US, nl_NL]";
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue