From 4bfb1a171002971f308437032b2f3f898eefd825 Mon Sep 17 00:00:00 2001 From: rahgozar94725 Date: Thu, 9 Feb 2023 07:19:04 +0330 Subject: [PATCH] add 503 error --- nginx/nginx-sample.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nginx/nginx-sample.conf b/nginx/nginx-sample.conf index c63b755..80c0873 100644 --- a/nginx/nginx-sample.conf +++ b/nginx/nginx-sample.conf @@ -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; } } }