2018-09-21 21:15:19 +02:00
|
|
|
server {
|
|
|
|
|
listen 80;
|
|
|
|
|
server_name localhost;
|
|
|
|
|
|
2018-11-08 15:34:30 +01:00
|
|
|
access_log /dev/stdout combined;
|
|
|
|
|
error_log /dev/stdout info;
|
2018-09-21 21:15:19 +02:00
|
|
|
|
|
|
|
|
location / {
|
|
|
|
|
root /usr/share/nginx/html;
|
|
|
|
|
index index.html index.htm;
|
|
|
|
|
}
|
|
|
|
|
|
2018-11-08 15:34:30 +01:00
|
|
|
location /health {
|
|
|
|
|
add_header Content-Type text/plain;
|
|
|
|
|
access_log off;
|
|
|
|
|
return 200 'Ok';
|
|
|
|
|
}
|
|
|
|
|
|
2018-09-21 21:15:19 +02:00
|
|
|
error_page 500 502 503 504 /50x.html;
|
|
|
|
|
location = /50x.html {
|
|
|
|
|
root /usr/share/nginx/html;
|
|
|
|
|
}
|
|
|
|
|
}
|