Spaces:
Build error
Build error
Update etc/nginx/nginx.conf
Browse files- etc/nginx/nginx.conf +28 -32
etc/nginx/nginx.conf
CHANGED
|
@@ -1,32 +1,28 @@
|
|
| 1 |
-
user
|
| 2 |
-
worker_processes auto;
|
| 3 |
-
|
| 4 |
-
error_log /var/log/nginx/error.log notice;
|
| 5 |
-
pid /var/run/nginx.pid;
|
| 6 |
-
|
| 7 |
-
events {
|
| 8 |
-
worker_connections 1024;
|
| 9 |
-
}
|
| 10 |
-
|
| 11 |
-
http {
|
| 12 |
-
include /etc/nginx/mime.types;
|
| 13 |
-
default_type application/octet-stream;
|
| 14 |
-
|
| 15 |
-
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
| 16 |
-
'$status $body_bytes_sent "$http_referer" '
|
| 17 |
-
'"$http_user_agent" "$http_x_forwarded_for"';
|
| 18 |
-
|
| 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 |
-
}
|
| 29 |
-
|
| 30 |
-
stream {
|
| 31 |
-
include /etc/nginx/conf.d/stream/*.conf;
|
| 32 |
-
}
|
|
|
|
| 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 |
+
|
| 7 |
+
events {
|
| 8 |
+
worker_connections 1024;
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
http {
|
| 12 |
+
include /etc/nginx/mime.types;
|
| 13 |
+
default_type application/octet-stream;
|
| 14 |
+
|
| 15 |
+
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
| 16 |
+
'$status $body_bytes_sent "$http_referer" '
|
| 17 |
+
'"$http_user_agent" "$http_x_forwarded_for"';
|
| 18 |
+
|
| 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 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|