diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..3a92445 --- /dev/null +++ b/nginx.conf @@ -0,0 +1,34 @@ +user webuser ftpuser; +worker_processes 1; +load_module modules/ngx_http_headers_more_filter_module.so; + + +events { + worker_connections 1024; +} + + +http { + include mime.types; + default_type application/octet-stream; + + sendfile on; + tcp_nopush on; + tcp_nodelay on; + types_hash_max_size 2048; + server_tokens off; + + keepalive_timeout 65; + + ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Kein SSLv3 (POODLE etc.) + ssl_prefer_server_ciphers on; + + access_log /var/log/nginx/access.log; + error_log /var/log/nginx/error.log; + + log_format compression '$remote_addr - $remote_user [$time_local] ' + '"$request" $status $body_bytes_sent ' + '"$http_referer" "$http_user_agent" "$gzip_ratio"'; + + include /usr/local/nginx/sites-enabled/*; +} \ No newline at end of file