Files
nginx-configs/nginx/nginx/sites-available/default
T
hikari aff5a966c6
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 58s
chore: remove unused default files and clean up comments
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.
2026-03-03 16:04:01 -08:00

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;
}
}