blob: 1ff0baf74bb0901dc89df73a7f644defa31057d6 (
plain)
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
|
pid nginx.pid;
worker_processes auto;
events {
worker_connections 768;
# multi_accept on;
}
http {
access_log access.log;
error_log error.log;
sendfile on;
tcp_nopush on;
types_hash_max_size 2048;
include /etc/nginx/mime.types;
default_type application/octet-stream;
gzip off;
server {
listen 8080;
location ~ ^(?<path>.*) {
fastcgi_param PATH_INFO $path;
include /tmp/fastcgi_conf;
include /etc/nginx/fastcgi_params;
}
location ^~ /static/ {
alias ../static/;
}
}
}
|