This commit is contained in:
parent
8bf4403d21
commit
d1f77e8514
4 changed files with 69 additions and 0 deletions
7
conf/default
Normal file
7
conf/default
Normal file
|
@ -0,0 +1,7 @@
|
|||
server {
|
||||
listen 80;
|
||||
location / {
|
||||
root /assets;
|
||||
autoindex on;
|
||||
}
|
||||
}
|
23
conf/nginx.conf
Normal file
23
conf/nginx.conf
Normal file
|
@ -0,0 +1,23 @@
|
|||
worker_processes 4;
|
||||
pid /run/nginx.pid;
|
||||
include /etc/nginx/modules/*.conf;
|
||||
|
||||
events {
|
||||
worker_connections 768;
|
||||
}
|
||||
|
||||
http {
|
||||
access_log /log/access.log;
|
||||
error_log /log/error.log;
|
||||
sendfile on;
|
||||
tcp_nopush on;
|
||||
tcp_nodelay on;
|
||||
keepalive_timeout 65;
|
||||
types_hash_max_size 2048;
|
||||
client_max_body_size 0;
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
gzip on;
|
||||
gzip_disable "msie6";
|
||||
include /config/nginx/site-confs/*;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue