diff options
| author | Kapil Viren Ahuja <k.v.ahuja@gmail.com> | 2017-02-10 14:54:24 +0530 |
|---|---|---|
| committer | Kapil Viren Ahuja <k.v.ahuja@gmail.com> | 2017-02-10 14:54:24 +0530 |
| commit | 93e44e57fbbb86df7a03c6d9ecfa751fb22342a1 (patch) | |
| tree | 526824b4f6571519bb55c8a8c090fee90e2aeab0 /nginx/nginx.conf | |
| parent | 69868a6899c09e13da52a2675349ccbab2858995 (diff) | |
| download | vaindock-93e44e57fbbb86df7a03c6d9ecfa751fb22342a1.tar.gz vaindock-93e44e57fbbb86df7a03c6d9ecfa751fb22342a1.zip | |
works for:
- vainsocial.com
- pg for web
- pg for raw
- pgAdmin
Diffstat (limited to 'nginx/nginx.conf')
| -rw-r--r-- | nginx/nginx.conf | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf new file mode 100644 index 0000000..97e5a0e --- /dev/null +++ b/nginx/nginx.conf @@ -0,0 +1,30 @@ +user www-data; +worker_processes 4; +pid /run/nginx.pid; +daemon off; + +events { + worker_connections 2048; + multi_accept on; + use epoll; +} + +http { + server_tokens off; + sendfile on; + tcp_nopush on; + tcp_nodelay on; + keepalive_timeout 15; + types_hash_max_size 2048; + client_max_body_size 20M; + include /etc/nginx/mime.types; + default_type application/octet-stream; + access_log /var/log/nginx/access.log; + error_log /var/log/nginx/error.log; + gzip on; + gzip_disable "msie6"; + include /etc/nginx/conf.d/*.conf; + include /etc/nginx/sites-available/*; + open_file_cache max=100; + charset UTF-8; +} |
