mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: adds some headers for fun
This commit is contained in:
parent
c8c95c1f0f
commit
22649ec4e0
1 changed files with 6 additions and 0 deletions
|
|
@ -24,6 +24,12 @@
|
|||
|
||||
# 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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue