Skip to content

Commit

Permalink
Return 200 instead of index.html as it didn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
optionsome committed Mar 15, 2024
1 parent e7e8bd6 commit ff2f7e6
Showing 1 changed file with 1 addition and 3 deletions.
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 ff2f7e6

Please sign in to comment.