aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'support/nginx')
-rw-r--r--support/nginx/peertube9
1 files changed, 4 insertions, 5 deletions
diff --git a/support/nginx/peertube b/support/nginx/peertube
index ceb434390..6d1c89459 100644
--- a/support/nginx/peertube
+++ b/support/nginx/peertube
@@ -1,4 +1,8 @@
1# Minimum Nginx version required: 1.13.0 (released Apr 25, 2017) 1# Minimum Nginx version required: 1.13.0 (released Apr 25, 2017)
2# Please check your Nginx installation features the following modules via 'nginx -V':
3# STANDARD HTTP MODULES: Core, Map, Proxy, Rewrite.
4# OPTIONAL HTTP MODULES: Gzip, Headers, HTTP/2, Log, Real IP, SSL, Thread Pool, Upstream.
5# THIRD PARTY MODULES: None.
2 6
3# Uncomment in production to redirect HTTP to HTTPS. Leave commented for docker-compose. 7# Uncomment in production to redirect HTTP to HTTPS. Leave commented for docker-compose.
4#server { 8#server {
@@ -144,11 +148,6 @@ server {
144 tcp_nopush on; # send headers in one piece 148 tcp_nopush on; # send headers in one piece
145 tcp_nodelay on; # don't buffer data sent, good for small data bursts in real time 149 tcp_nodelay on; # don't buffer data sent, good for small data bursts in real time
146 150
147 open_file_cache max=2000 inactive=5m; # default is no cache
148 open_file_cache_valid 2m; # default is 60s
149 open_file_cache_min_uses 2; # default is 1
150 open_file_cache_errors on;
151
152 # If you have a small /var/lib partition, it could be interesting to store temp nginx uploads in a different place 151 # If you have a small /var/lib partition, it could be interesting to store temp nginx uploads in a different place
153 # See https://nginx.org/en/docs/http/ngx_http_core_module.html#client_body_temp_path 152 # See https://nginx.org/en/docs/http/ngx_http_core_module.html#client_body_temp_path
154 #client_body_temp_path /var/www/peertube/storage/nginx/; 153 #client_body_temp_path /var/www/peertube/storage/nginx/;