Skip to content

Commit

Permalink
Merge pull request #248 from HSLdevcom/fix-health-check-part2
Browse files Browse the repository at this point in the history
Proper fix to health check
  • Loading branch information
optionsome authored Mar 15, 2024
2 parents 15794fb + ff2f7e6 commit 8bc178e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions external.conf
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ location /out/rata.digitraffic.fi/ {
add_header X-Proxy-Cache $upstream_cache_status;
proxy_ignore_headers X-Accel-Expires Expires Cache-Control Set-Cookie;
proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504;
proxy_ssl_server_name on;
}

#Mankeli (Lahti) bike stations (https://tkhslahtistorage.blob.core.windows.net/gbfs/gbfs.json)
Expand Down
4 changes: 1 addition & 3 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,10 @@ http {

server {
listen 8080 default_server;
server_name "";

# Health check
location = / {
root /opt/nginx/www;
index index.html;
return 200;
}

location / {
Expand Down

0 comments on commit 8bc178e

Please sign in to comment.