-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnginx.conf.in
42 lines (34 loc) · 880 Bytes
/
nginx.conf.in
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
38
39
40
41
42
worker_processes auto;
pid /var/run/csg2_nginx.pid;
user @SERVUSERNAME@;
events {
worker_connections 768;
}
http {
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
server_tokens off;
server_names_hash_bucket_size 64;
server_name_in_redirect on;
include /etc/nginx/mime.types;
default_type application/octet-stream;
access_log /var/log/csg2/nginx-access.log;
error_log /var/log/csg2/nginx-error.log;
gzip off;
include /tmp/*.csg2nginx;
server {
listen 8080 default_server;
listen [::]:8080 default_server;
error_page 404 =400 /_/err/notavailable.html;
location /_/err/ {
internal;
alias @POSTINSTALLPATH@/share/csg2/nginx-default/;
}
location / {
return 404;
}
}
}