summaryrefslogtreecommitdiff
path: root/nginx/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginx/nginx.conf')
-rw-r--r--nginx/nginx.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
new file mode 100644
index 0000000..4dddab1
--- /dev/null
+++ b/nginx/nginx.conf
@@ -0,0 +1,18 @@
+user nginx;
+worker_processes 2;
+error_log logs/main_error.log;
+events {
+ worker_connections 1024;
+}
+http {
+ include mime.types;
+ default_type application/octet-stream;
+ log_format main '$remote_addr - $remote_user [$time_local] "$request" '
+ '$status $body_bytes_sent "$http_referer" '
+ '"$http_user_agent" "$http_x_forwarded_for"';
+ access_log logs/access.log;
+ error_log logs/http_error.log;
+ sendfile on;
+ keepalive_timeout 65;
+ include sites-enabled/*;
+}