mirror of
https://github.com/offen/website.git
synced 2024-12-27 06:50:22 +01:00
Merge pull request #24 from offen/development
Block access using internal hostnames or IPs
This commit is contained in:
commit
d86209410b
@ -23,6 +23,12 @@ http {
|
|||||||
"~^text/html" "default-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'";
|
"~^text/html" "default-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
# 404 for any request that does match the server names defined below
|
||||||
|
listen 80;
|
||||||
|
return 404;
|
||||||
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
autoindex on;
|
autoindex on;
|
||||||
|
Loading…
Reference in New Issue
Block a user