Skip to content

Commit

Permalink
add 503 error
Browse files Browse the repository at this point in the history
  • Loading branch information
rahgozar94725 committed Feb 9, 2023
1 parent 5d77861 commit 4bfb1a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nginx/nginx-sample.conf
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ http {
grpc_pass grpc://127.0.0.1:$1;
}
location / {
proxy_pass http://sub.test.com;
root /usr/share/nginx/html;
return 503;
}
}
}

0 comments on commit 4bfb1a1

Please sign in to comment.