mirror of https://github.com/Chocobozzz/PeerTube
Add client_body_temp_path hint in nginx template
parent
c37a52b046
commit
7b7d4e2a6a
|
@ -44,6 +44,10 @@ server {
|
||||||
gzip_types text/css application/javascript;
|
gzip_types text/css application/javascript;
|
||||||
gzip_vary on;
|
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
|
# Enable HSTS
|
||||||
# Tells browsers to stick with HTTPS and never visit the insecure HTTP
|
# 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
|
# version. Once a browser sees this header, it will only visit the site over
|
||||||
|
|
Loading…
Reference in New Issue