test nginx 2

This commit is contained in:
Didier Slof 2023-02-19 15:03:57 +01:00
parent 3c883da6b8
commit 77bb8de20c
Signed by: didier
GPG key ID: 01E71F18AA4398E5
3 changed files with 15 additions and 537 deletions

View file

@ -29,6 +29,20 @@ http {
#gzip on;
include /etc/nginx/conf.d/*.conf;
server {
server_name _; # This is just an invalid value which will never trigger on a real hostname.
listen 80;
access_log /var/log/nginx/access.log vhost;
error_page 503 /503.html;
location = /503.html {
root /usr/share/nginx/html;
internal;
}
location / {
return 503;
}
}
}
daemon off;