generated from Start9Labs/hello-world-startos
-
Notifications
You must be signed in to change notification settings - Fork 4
/
nginx.conf
37 lines (28 loc) · 787 Bytes
/
nginx.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This directive specifies how many worker processes should be created.
worker_processes auto; # "auto" will auto-detect the number of processor cores available.
# Error and access logs paths.
#error_log /dev/stderr warn;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 120;
gzip on;
gzip_disable "msie6";
server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
index index.html;
error_page 404 =200 /200.html;
error_page 403 =200 /200.html;
location = /200.html {
internal;
}
}
}