Added 502 error page for system startup

This commit is contained in:
Maxi
2022-02-18 16:35:27 +01:00
parent 9021bcd222
commit 21df09d0ba
2 changed files with 27 additions and 0 deletions

View File

@@ -12,5 +12,12 @@ server {
location / {
proxy_set_header Host $http_host;
proxy_pass http://web_recipes:8080;
error_page 502 /errors/http502.html;
}
location /errors/ {
alias /etc/nginx/conf.d/errorpages/;
internal;
}
}