Extra nginx settings

merge-requests/30/head
Bob Mottram 2021-10-11 16:19:22 +01:00
parent 19ac55aa2d
commit 8bbdb0f9cf
3 changed files with 12 additions and 0 deletions

View File

@ -161,6 +161,9 @@ server {
try_files $uri =404; try_files $uri =404;
} }
keepalive_timeout 70;
sendfile on;
location / { location / {
proxy_http_version 1.1; proxy_http_version 1.1;
client_max_body_size 31M; client_max_body_size 31M;
@ -180,6 +183,7 @@ server {
proxy_request_buffering off; proxy_request_buffering off;
proxy_buffering off; proxy_buffering off;
proxy_pass http://localhost:7156; proxy_pass http://localhost:7156;
tcp_nodelay on;
} }
} }
``` ```

View File

@ -113,6 +113,9 @@ And paste the following:
try_files $uri =404; try_files $uri =404;
} }
keepalive_timeout 70;
sendfile on;
location / { location / {
proxy_http_version 1.1; proxy_http_version 1.1;
client_max_body_size 31M; client_max_body_size 31M;
@ -132,6 +135,7 @@ And paste the following:
proxy_request_buffering off; proxy_request_buffering off;
proxy_buffering off; proxy_buffering off;
proxy_pass http://localhost:7156; proxy_pass http://localhost:7156;
tcp_nodelay on;
} }
} }

View File

@ -1421,6 +1421,9 @@
try_files $uri =404;<br> try_files $uri =404;<br>
}<br> }<br>
<br> <br>
keepalive_timeout 70;<br>
sendfile on;<br>
<br>
location / {<br> location / {<br>
proxy_http_version 1.1;<br> proxy_http_version 1.1;<br>
client_max_body_size 31M;<br> client_max_body_size 31M;<br>
@ -1440,6 +1443,7 @@
proxy_request_buffering off;<br> proxy_request_buffering off;<br>
proxy_buffering off;<br> proxy_buffering off;<br>
proxy_pass http://localhost:7156;<br> proxy_pass http://localhost:7156;<br>
tcp_nodelay on;<br>
}<br> }<br>
} }
</div> </div>