mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-24 02:41:33 +00:00
Unify nginx configuration style
This commit is contained in:
parent
13e90dde41
commit
b592a1625a
@ -3,4 +3,4 @@ location = /terminal {
|
|||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
}
|
}
|
||||||
|
@ -1,13 +1,11 @@
|
|||||||
worker_processes auto;
|
worker_processes auto;
|
||||||
pid /tmp/nginx.pid;
|
pid /tmp/nginx.pid;
|
||||||
|
|
||||||
events
|
events {
|
||||||
{
|
|
||||||
worker_connections 1024;
|
worker_connections 1024;
|
||||||
}
|
}
|
||||||
|
|
||||||
http
|
http {
|
||||||
{
|
|
||||||
sendfile on;
|
sendfile on;
|
||||||
tcp_nopush on;
|
tcp_nopush on;
|
||||||
tcp_nodelay on;
|
tcp_nodelay on;
|
||||||
|
Loading…
Reference in New Issue
Block a user