Initial commit
Drone CI steps, Dockerfile for ENV arguments and README.md
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
server {
|
||||
listen ${LISTEN_PORT};
|
||||
server_name _;
|
||||
|
||||
# Health check endpoint for container orchestrator probes
|
||||
location = /healthz {
|
||||
access_log off;
|
||||
default_type text/plain;
|
||||
return 200 "OK\n";
|
||||
}
|
||||
|
||||
# Redirect all other incoming traffic
|
||||
location / {
|
||||
return ${REDIRECT_CODE} ${REDIRECT_TARGET};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user