# 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;
}
}
Your Configuration
RemovedAdded
Drop file or click to browse
How to use this tool
1.Paste your configuration file or drag & drop it into the area above
2.The diff will appear instantly, showing differences between your config and the default
3.Green highlights show your additions, red shows what you've removed from the default
4.Use the toggle button to switch between side-by-side and unified diff views