summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-05-29 20:00:50 +0200
committerlassulus <lassulus@lassul.us>2022-05-29 20:00:50 +0200
commit0c30d6f1206eee5459cbb788ffe6f997dc951596 (patch)
tree2b17c6d9ad7f327e7238f580a46258bf5354d741 /lass/2configs
parent6bf2ab873519532de7a744748777361dc65f8b7b (diff)
l p.krebsco.de: allow upload from internet
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/paste.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/lass/2configs/paste.nix b/lass/2configs/paste.nix
index 68a55c71c..affc35307 100644
--- a/lass/2configs/paste.nix
+++ b/lass/2configs/paste.nix
@@ -57,10 +57,8 @@ with import <stockholm/lib>;
addSSL = true;
serverAliases = [ "p.krebsco.de" ];
locations."/".extraConfig = ''
- if ($request_method != GET) {
- return 403;
- }
proxy_set_header Host $host;
+ proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://127.0.0.1:${toString config.krebs.htgen.paste.port};
'';
locations."/image".extraConfig = ''