Skip to content

Commit bfa16fd

Browse files
author
Bryan Kendall
committed
explicitly 404 everything else
1 parent c114438 commit bfa16fd

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

ansible/roles/user-content-pixel/templates/90-user-content-pixel.conf

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
server {
2+
listen 80;
3+
server_name blue.{{ user_content_domain }};
4+
location / {
5+
return 404;
6+
}
7+
}
8+
19
server {
210
listen 443 ssl;
311
server_name blue.{{ user_content_domain }};
@@ -26,5 +34,7 @@ server {
2634
empty_gif;
2735
}
2836

29-
return 404;
37+
location / {
38+
return 404;
39+
}
3040
}

0 commit comments

Comments
 (0)