# Basic settings worker_processes auto; events { worker_connections 1024; } http { # Basic settings charset utf8; gzip_static on; server_tokens off; sendfile off; tcp_nopush on; limit_conn_zone $binary_remote_addr zone=addr:10m; # Buffers client_body_buffer_size 1k; client_header_buffer_size 1k; client_max_body_size 1k; large_client_header_buffers 2 1k; # Timeouts client_body_timeout 10; client_header_timeout 10; keepalive_timeout 5 5; send_timeout 10; # Define the default MIME types for files include mime.types; default_type application/octet-stream; server { # Basic settings listen 80; server_name www.thomasguymer.co.uk; if ($request_method !~ ^(GET|HEAD)$ ) { return 444; } location / { root /usr/local/www/thomasguymer.co.uk/www; index index.html; limit_conn addr 5; } # List all available MIME types types { application/javascript js; application/pdf pdf; application/rss+xml rss; application/xml xml; application/zip zip; image/x-icon ico; image/jpeg jpg; image/png png; image/svg+xml svg; text/css css; text/html html; text/plain log txt; text/x-suse-ymp ymp; } } }