Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4012719
D1972.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D1972.diff
View Options
diff --git a/roles/paas-docker/nginx/files/vhosts/_default.conf b/roles/paas-docker/nginx/files/vhosts/_default.conf
--- a/roles/paas-docker/nginx/files/vhosts/_default.conf
+++ b/roles/paas-docker/nginx/files/vhosts/_default.conf
@@ -37,4 +37,8 @@
include includes/proxy_params;
}
+ root /var/wwwroot-502/_default;
+ error_page 502 /502.html;
+ location /502.html {}
+
}
diff --git a/roles/paas-docker/nginx/files/vhosts/cachet.conf b/roles/paas-docker/nginx/files/vhosts/cachet.conf
--- a/roles/paas-docker/nginx/files/vhosts/cachet.conf
+++ b/roles/paas-docker/nginx/files/vhosts/cachet.conf
@@ -37,4 +37,7 @@
include includes/proxy_params;
}
+ root /var/wwwroot-502/{{ fqdn }};
+ error_page 502 /502.html;
+ location /502.html {}
}
diff --git a/roles/paas-docker/nginx/files/vhosts/jenkins.conf b/roles/paas-docker/nginx/files/vhosts/jenkins.conf
--- a/roles/paas-docker/nginx/files/vhosts/jenkins.conf
+++ b/roles/paas-docker/nginx/files/vhosts/jenkins.conf
@@ -44,4 +44,8 @@
proxy_request_buffering off;
proxy_buffering off; # Required for HTTP-based CLI to work over SSL
}
+
+ root /var/wwwroot-502/_default;
+ error_page 502 /502.html;
+ location /502.html {}
}
diff --git a/roles/paas-docker/nginx/files/vhosts/tommy.conf b/roles/paas-docker/nginx/files/vhosts/tommy.conf
--- a/roles/paas-docker/nginx/files/vhosts/tommy.conf
+++ b/roles/paas-docker/nginx/files/vhosts/tommy.conf
@@ -37,4 +37,7 @@
include includes/proxy_params;
}
+ root /var/wwwroot-502/_default;
+ error_page 502 /502.html;
+ location /502.html {}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 18, 17:04 (5 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2357009
Default Alt Text
D1972.diff (1 KB)
Attached To
Mode
D1972: Serve 502 pages
Attached
Detach File
Event Timeline
Log In to Comment