Skip to content

Commit a7d300b

Browse files
author
Maya Baya
committed
fix: Healt check
1 parent a1b6853 commit a7d300b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

container-files/etc/nginx/nginx.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,16 @@ http {
105105

106106
{% if HEALTH_CHECK_ALLOWED_SUBNET %}
107107
location ^~ /readiness.php {
108-
deny all;
109108
allow {{ HEALTH_CHECK_ALLOWED_SUBNET }};
109+
deny all;
110110

111111
try_files $fastcgi_script_name =404;
112112
fastcgi_pass localhost:9000;
113113
break;
114114
}
115115
location ^~ /liveness.php {
116-
deny all;
117116
allow {{ HEALTH_CHECK_ALLOWED_SUBNET }};
117+
deny all;
118118

119119
try_files $fastcgi_script_name =404;
120120
fastcgi_pass localhost:9000;

0 commit comments

Comments
 (0)