Setting up a default website to 404 error

This commit is contained in:
epickiwi committed 2026-10-30 11:18:18 +01:00
1 parent 1fbd625b83
commit 43a5d3d3f8
2 files changed
+35 -1

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
location / {
return 404;
}
}