Prepare for Kubernetes deployment
This commit is contained in:
+8
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user