Add healthcheck endpoints and scripts
This commit is contained in:
@ -1,5 +1,10 @@
|
||||
server {
|
||||
listen 80;
|
||||
location /ping {
|
||||
access_log off;
|
||||
add_header 'Content-Type' 'text/plain';
|
||||
return 200 "pong";
|
||||
}
|
||||
location /api/golang/ {
|
||||
resolver 127.0.0.1;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
|
||||
Reference in New Issue
Block a user