Spaces:
Build error
Build error
Update etc/nginx/nginx.conf
Browse files- etc/nginx/nginx.conf +7 -5
etc/nginx/nginx.conf
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
-
user www-data;
|
| 2 |
worker_processes auto;
|
| 3 |
|
|
|
|
|
|
|
|
|
|
| 4 |
error_log /var/log/nginx/error.log notice;
|
| 5 |
pid /var/run/nginx.pid;
|
| 6 |
|
|
@@ -19,10 +21,10 @@ http {
|
|
| 19 |
access_log /var/log/nginx/access.log main;
|
| 20 |
|
| 21 |
sendfile on;
|
| 22 |
-
#tcp_nopush on;
|
| 23 |
-
|
| 24 |
keepalive_timeout 65;
|
| 25 |
-
|
| 26 |
-
#gzip on;
|
| 27 |
include /etc/nginx/conf.d/http/*.conf;
|
| 28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
worker_processes auto;
|
| 2 |
|
| 3 |
+
# Comment or remove the user directive
|
| 4 |
+
# user nginx;
|
| 5 |
+
|
| 6 |
error_log /var/log/nginx/error.log notice;
|
| 7 |
pid /var/run/nginx.pid;
|
| 8 |
|
|
|
|
| 21 |
access_log /var/log/nginx/access.log main;
|
| 22 |
|
| 23 |
sendfile on;
|
|
|
|
|
|
|
| 24 |
keepalive_timeout 65;
|
|
|
|
|
|
|
| 25 |
include /etc/nginx/conf.d/http/*.conf;
|
| 26 |
}
|
| 27 |
+
|
| 28 |
+
stream {
|
| 29 |
+
include /etc/nginx/conf.d/stream/*.conf;
|
| 30 |
+
}
|