From ea91c1e2d868ce9b3e91b9abc9a74d3e84261335 Mon Sep 17 00:00:00 2001 From: Paweł Dybiec Date: Tue, 9 Mar 2021 23:05:47 +0000 Subject: Migration to a new server, moved nginx out of docker --- compose/nginx/nginx.conf | 65 ------------------------------------------------ 1 file changed, 65 deletions(-) delete mode 100644 compose/nginx/nginx.conf (limited to 'compose/nginx/nginx.conf') diff --git a/compose/nginx/nginx.conf b/compose/nginx/nginx.conf deleted file mode 100644 index 35f8b3a..0000000 --- a/compose/nginx/nginx.conf +++ /dev/null @@ -1,65 +0,0 @@ -user nginx; -worker_processes 4; - -error_log /var/log/nginx/error.log warn; -pid /var/run/nginx.pid; - - -events { - worker_connections 1024; -} - - -http { - include /etc/nginx/mime.types; - default_type application/octet-stream; - - log_format main '[$time_local] $remote_addr - $remote_user "$request" ' - '$status "$http_referer" ' - '"$http_user_agent" "$server_name"'; - - access_log /var/log/nginx/access.log main; - ssl_certificate /etc/letsencrypt/live/dybiec.info/fullchain.pem; - ssl_certificate_key /etc/letsencrypt/live/dybiec.info/privkey.pem; - - ssl_protocols TLSv1.2 TLSv1.3; - ssl_prefer_server_ciphers on; - - ssl_session_cache shared:SSL:50m; - ssl_session_timeout 5m; - - ssl_ciphers ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256; - - - sendfile on; - tcp_nopush on; - - etag on; - - keepalive_timeout 65; - - gzip on; - gzip_proxied any; - gzip_types - text/css - text/javascript - text/xml - text/plain - application/javascript - application/x-javascript - application/json; - - add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; - - server { - listen 80; - allow 127.0.0.1; - allow 172.0.0.0/8; - deny all; - } - include /etc/nginx/conf.d/*.conf; - - error_page 500 501 502 503 504 /50x.html; - -} - -- cgit 1.4.1