X-Git-Url: http://git.purplebirdman.com/proxy.git/blobdiff_plain/866dc074f84b4780a87e23141b1ce07b70002120..ec42b2a34bf18e8ae49d724eebe880ac7a41cf5e:/nginx.conf?ds=sidebyside diff --git a/nginx.conf b/nginx.conf index a49653b..6c145ae 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,10 +1,33 @@ -events {} +user nginx; +worker_processes 1; + +error_log /var/log/nginx/error.log warn; +pid /var/run/nginx.pid; + + +events { + worker_connections 1024; +} + http { - server { - server_name public.purplebirdman.online; - location / { - proxy_pass http://public_web; - } - } + ssl_password_file /etc/ssl/certs/passphrase.txt; + + include /etc/nginx/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 /var/log/nginx/access.log main; + + sendfile on; + #tcp_nopush on; + + keepalive_timeout 65; + + #gzip on; + + include /etc/nginx/conf.d/*.conf; }