Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Commit

Permalink
Create nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
rizalkun authored Feb 27, 2017
1 parent 9bcb544 commit 826d279
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions ocs_panel/nginx.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
user www-data;

worker_processes 1;
pid /var/run/nginx.pid;

events {
multi_accept on;
worker_connections 1024;
}

http {
gzip on;
gzip_vary on;
gzip_comp_level 5;
gzip_types text/plain application/x-javascript text/xml text/css;

autoindex on;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
server_tokens off;
include /etc/nginx/mime.types;
default_type application/octet-stream;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
client_max_body_size 32M;
client_header_buffer_size 8m;
large_client_header_buffers 8 8m;

fastcgi_buffer_size 8m;
fastcgi_buffers 8 8m;

fastcgi_read_timeout 600;

include /etc/nginx/conf.d/*.conf;
}

0 comments on commit 826d279

Please sign in to comment.