mirror of
https://git.collinwebdesigns.de/oscar.krause/fastapi-dls.git
synced 2024-11-27 17:31:00 +03:00
docker-compose.yml - added experimental health endpoint
This commit is contained in:
parent
5bb8437b1d
commit
27f47b93b8
@ -67,6 +67,12 @@ services:
|
|||||||
proxy_set_header X-Forwarded-Proto $$scheme;
|
proxy_set_header X-Forwarded-Proto $$scheme;
|
||||||
proxy_pass https://dls-backend$$request_uri;
|
proxy_pass https://dls-backend$$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location = /-/health {
|
||||||
|
access_log off;
|
||||||
|
add_header 'Content-Type' 'application/json';
|
||||||
|
return 200; # '{\"status\":\"up\",\"service\":\"nginx\"}';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
Loading…
Reference in New Issue
Block a user