summaryrefslogtreecommitdiffstats
path: root/lass/2configs/paste.nix
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-04-11 21:50:01 +0200
committerlassulus <lass@lassul.us>2017-04-11 21:50:01 +0200
commit575a37f00e0ee6866c72a99327921068222fc1b0 (patch)
tree4e830308ccf723b8a18c5f1aed162fb2f5172150 /lass/2configs/paste.nix
parent7bc85a08bce87af858a874b10d78e46e0cdff179 (diff)
l 2 paste: set client_max_body_size to 4G
Diffstat (limited to 'lass/2configs/paste.nix')
-rw-r--r--lass/2configs/paste.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/lass/2configs/paste.nix b/lass/2configs/paste.nix
index 5fe3083f7..293691c0f 100644
--- a/lass/2configs/paste.nix
+++ b/lass/2configs/paste.nix
@@ -5,6 +5,7 @@ with import <stockholm/lib>;
services.nginx.virtualHosts.paste = {
serverAliases = [ "p.r" ];
locations."/".extraConfig = ''
+ client_max_body_size 4G;
proxy_set_header Host $host;
proxy_pass http://localhost:9081;
'';