diff options
Diffstat (limited to 'old/sliver-c2/templates/nginx.conf.j2')
-rw-r--r-- | old/sliver-c2/templates/nginx.conf.j2 | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/old/sliver-c2/templates/nginx.conf.j2 b/old/sliver-c2/templates/nginx.conf.j2 deleted file mode 100644 index a735338..0000000 --- a/old/sliver-c2/templates/nginx.conf.j2 +++ /dev/null @@ -1,57 +0,0 @@ -user www-data; -worker_processes auto; -pid /run/nginx.pid; -include /etc/nginx/modules-enabled/*.conf; - -events { - worker_connections 1024; -} - -http { - sendfile on; - tcp_nopush on; - tcp_nodelay on; - keepalive_timeout 65; - types_hash_max_size 2048; - - server_tokens off; - - include /etc/nginx/mime.types; - default_type application/octet-stream; - - access_log /var/log/nginx/access.log; - error_log /var/log/nginx/error.log warn; - - ssl_protocols TLSv1.2 TLSv1.3; - ssl_prefer_server_ciphers on; - - add_header X-Content-Type-Options nosniff; - add_header X-Frame-Options DENY; - add_header X-XSS-Protection "1; mode=block"; - - server { - listen 127.0.0.1:{{ internal_nginx_port }} ssl default_server; - server_name _; - - root /var/www/html; - index index.html; - - ssl_certificate /etc/ssl/certs/nginx-selfsigned.crt; - ssl_certificate_key /etc/ssl/private/nginx-selfsigned.key; - - ssl_protocols TLSv1.2 TLSv1.3; - ssl_prefer_server_ciphers on; - - add_header X-Content-Type-Options nosniff; - add_header X-Frame-Options DENY; - add_header X-XSS-Protection "1; mode=block"; - - location / { - try_files $uri $uri/ =404; - } - - location ~ /\.(?!well-known) { - deny all; - } - } -} |