Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F55287633
D956.id2439.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
975 B
Referenced Files
None
Subscribers
None
D956.id2439.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 29, 12:32 (22 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4228170
Default Alt Text
D956.id2439.diff (975 B)
Attached To
Mode
D956: Simplify unknown domain nginx configuration
Attached
Detach File
Event Timeline
Log In to Comment