generated from nhcarrigan/template
aff5a966c6
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 58s
Deletes conf.d/default.conf, snippets/snakeoil.conf, and snippets/fastcgi-php.conf (all stock example files not used in production). Strips all commented-out lines and the mail block from nginx.conf, and drops TLSv1/TLSv1.1 from ssl_protocols. Cleans sites-available/default down to just the functional catch-all.
19 lines
306 B
Plaintext
19 lines
306 B
Plaintext
server {
|
|
listen 80 default_server;
|
|
listen [::]:80 default_server;
|
|
|
|
root /var/www/html;
|
|
index index.html index.htm index.nginx-debian.html;
|
|
|
|
server_name _;
|
|
|
|
location / {
|
|
try_files $uri $uri/ =404;
|
|
}
|
|
|
|
error_page 500 502 503 504 /50x.html;
|
|
location = /50x.html {
|
|
root /usr/share/nginx/html;
|
|
}
|
|
}
|