-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwww.cfg.in
45 lines (35 loc) · 827 Bytes
/
www.cfg.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
43
44
load_module %RESDIR%/bin/ngx_http_application_module_%MARCH%.so;
user root;
worker_processes 1;
daemon off;
error_log /dev/null crit;
pid /tmp/ngx_http_application_module.pid;
events {
worker_connections 4096;
multi_accept off;
}
http {
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
client_header_buffer_size 4k;
large_client_header_buffers 2 4k;
access_log off;
server {
listen %LISTEN% default_server;
%SSL_CONF%
include /etc/nginx/mime.types;
default_type text/html;
location ~ ^/$ {
# add_header 'Content-Type' 'text/html';
return 200 '<meta http-equiv="refresh" content="0;url=/static/index.html" />';
}
location /http_application {
http_application;
}
location /static {
alias %RESDIR%/static;
try_files $uri $uri/ =404;
# autoindex on;
}
}
}