mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2025-04-24 14:05:39 +02:00
Add http.d directory
Missing since e344128779cae9e7d6ba574c6176135953fc1618
This commit is contained in:
parent
149e34bcd2
commit
88b4e4514a
17
rootfs/etc/nginx/http.d/default.conf
Normal file
17
rootfs/etc/nginx/http.d/default.conf
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# 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;
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user