Page MenuHomeDevCentral

D956.id.diff
No OneTemporary

D956.id.diff

diff --git a/roles/shellserver/web-hosting/files/eglide/nginx/vhosts/000.conf b/roles/shellserver/web-hosting/files/eglide/nginx/vhosts/000.conf
--- a/roles/shellserver/web-hosting/files/eglide/nginx/vhosts/000.conf
+++ b/roles/shellserver/web-hosting/files/eglide/nginx/vhosts/000.conf
@@ -24,18 +24,17 @@
listen [2001:470:1f12:9e1::2]:80;
listen [2001:470:1f13:9e1:0:c0ff:ee:1]:80;
server_name _;
- root /var/wwwroot/unknown_domains;
access_log /var/log/www/unknown_domains-access.log main;
error_log /var/log/www/unknown_domains-error.log;
- error_page 404 @unknowndomains;
-
location / {
return 404;
}
- location @unknowndomains {
- rewrite ^(.*)$ /unknown.html break;
+ error_page 404 /unknown.html;
+
+ location = /unknown.html {
+ root /var/wwwroot/unknown_domains;
}
}

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 24, 05:02 (17 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2313322
Default Alt Text
D956.id.diff (975 B)

Event Timeline