blob: dd560b1230719ca8961da69cb9adc63a7580e1b0 (
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
37
38
|
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;
proxy_temp_path /tmp;
server {
listen 8080;
location ~ ^(?<path>.*) {
fastcgi_param PATH_INFO $path;
include /tmp/fastcgi_conf;
include /etc/nginx/fastcgi_params;
}
location ^~ /static/ {
alias ../static/;
}
}
}
|