aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/nginx
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-12-05 11:25:00 +0100
committerChocobozzz <me@florianbigard.com>2019-12-05 11:25:00 +0100
commit7b7d4e2a6adde8a8aa0b4c0048bddd448a6a0093 (patch)
tree0f8f0fb10472b212e48ee651fa0997530de66f29 /support/nginx
parentc37a52b046a419a7f2b69c7a98904b15db9786d9 (diff)
downloadPeerTube-7b7d4e2a6adde8a8aa0b4c0048bddd448a6a0093.tar.gz
PeerTube-7b7d4e2a6adde8a8aa0b4c0048bddd448a6a0093.tar.zst
PeerTube-7b7d4e2a6adde8a8aa0b4c0048bddd448a6a0093.zip
Add client_body_temp_path hint in nginx template
Diffstat (limited to 'support/nginx')
-rw-r--r--support/nginx/peertube4
1 files changed, 4 insertions, 0 deletions
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 {
44 gzip_types text/css application/javascript; 44 gzip_types text/css application/javascript;
45 gzip_vary on; 45 gzip_vary on;
46 46
47 # If you have a small /var/lib partition, it could be interesting to store temp nginx uploads in a different place
48 # See https://nginx.org/en/docs/http/ngx_http_core_module.html#client_body_temp_path
49 # client_body_temp_path /var/www/peertube/storage/nginx/;
50
47 # Enable HSTS 51 # Enable HSTS
48 # Tells browsers to stick with HTTPS and never visit the insecure HTTP 52 # Tells browsers to stick with HTTPS and never visit the insecure HTTP
49 # version. Once a browser sees this header, it will only visit the site over 53 # version. Once a browser sees this header, it will only visit the site over