From 7b7d4e2a6adde8a8aa0b4c0048bddd448a6a0093 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 5 Dec 2019 11:25:00 +0100 Subject: Add client_body_temp_path hint in nginx template --- support/nginx/peertube | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'support/nginx') diff --git a/support/nginx/peertube b/support/nginx/peertube index 225241bac..05f172280 100644 --- a/support/nginx/peertube +++ b/support/nginx/peertube @@ -44,6 +44,10 @@ server { gzip_types text/css application/javascript; gzip_vary on; + # If you have a small /var/lib partition, it could be interesting to store temp nginx uploads in a different place + # See https://nginx.org/en/docs/http/ngx_http_core_module.html#client_body_temp_path + # client_body_temp_path /var/www/peertube/storage/nginx/; + # Enable HSTS # Tells browsers to stick with HTTPS and never visit the insecure HTTP # version. Once a browser sees this header, it will only visit the site over -- cgit v1.2.3