aboutsummaryrefslogtreecommitdiff
path: root/modules/private/websites/immae/production.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-06-13 15:55:53 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-06-13 15:55:53 +0200
commit46c99b575ab45c79e195bc9e9ed75759e814aad1 (patch)
treef3cf02c9b2b8fd4f73bf22c7c2f9ae4d147d55cb /modules/private/websites/immae/production.nix
parent8f1d6cb579ec203ce86f8af30bea729dbb0a9f7f (diff)
downloadNix-46c99b575ab45c79e195bc9e9ed75759e814aad1.tar.gz
Nix-46c99b575ab45c79e195bc9e9ed75759e814aad1.tar.zst
Nix-46c99b575ab45c79e195bc9e9ed75759e814aad1.zip
Upgrade Wallabag
Diffstat (limited to 'modules/private/websites/immae/production.nix')
-rw-r--r--modules/private/websites/immae/production.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/private/websites/immae/production.nix b/modules/private/websites/immae/production.nix
index ae4abe0..046246d 100644
--- a/modules/private/websites/immae/production.nix
+++ b/modules/private/websites/immae/production.nix
@@ -22,10 +22,10 @@ in {
22 extraConfig = [ 22 extraConfig = [
23 '' 23 ''
24 Use Stats www.immae.eu 24 Use Stats www.immae.eu
25 Header always set Strict-Transport-Security "max-age=31536000"
25 26
26 <LocationMatch /.well-known/(webfinger|host-meta)> 27 <LocationMatch /.well-known/(webfinger|host-meta)>
27 Header always set Referrer-Policy "strict-origin-when-cross-origin" 28 Header always set Referrer-Policy "strict-origin-when-cross-origin"
28 Header always set Strict-Transport-Security "max-age=31536000"
29 RequestHeader set X-Forwarded-Proto "https" 29 RequestHeader set X-Forwarded-Proto "https"
30 30
31 RewriteRule ^(.*)$ https://mastodon.immae.eu%{REQUEST_URI} [QSA,L] 31 RewriteRule ^(.*)$ https://mastodon.immae.eu%{REQUEST_URI} [QSA,L]