Skip to content

Commit 4bfb1a1

Browse files
committed
add 503 error
1 parent 5d77861 commit 4bfb1a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nginx/nginx-sample.conf

+2-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ http {
157157
grpc_pass grpc://127.0.0.1:$1;
158158
}
159159
location / {
160-
proxy_pass http://sub.test.com;
160+
root /usr/share/nginx/html;
161+
return 503;
161162
}
162163
}
163164
}

0 commit comments

Comments
 (0)