ptrcports/alpine/nginx-current/default.conf

18 lines
342 B
Text
Raw Normal View History

2022-04-27 22:21:24 +00:00
# This is a default site configuration which will simply return 404, preventing
# chance access to any other virtualhost.
server {
listen 80 default_server;
listen [::]:80 default_server;
# Everything is a 404
location / {
return 404;
}
# You may need this to prevent return 404 recursion.
location = /404.html {
internal;
}
}