Prepare for Kubernetes deployment

This commit is contained in:
2018-11-08 15:17:07 +01:00
parent e0ecde491c
commit 85f20c126c
4 changed files with 106 additions and 2 deletions
+8 -2
View File
@@ -2,14 +2,20 @@ server {
listen 80;
server_name localhost;
access_log /log/access.log combined;
error_log /log/error.log error;
access_log /dev/stdout combined;
error_log /dev/stdout info;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
location /health {
add_header Content-Type text/plain;
access_log off;
return 200 'Ok';
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;