Skip to content

Commit 7f80e79

Browse files
committed
Merge branch 'RavanH-status-ping' into develop
2 parents 3bbc1e9 + 674d111 commit 7f80e79

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

ee/cli/templates/locations-php7.mustache

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,28 +41,28 @@ if ($uri ~* "^.+(readme|license|example)\.(txt|html)$") {
4141
return 403;
4242
}
4343
# Status pages
44-
location /nginx_status {
44+
location = /nginx_status {
4545
stub_status on;
4646
access_log off;
4747
include common/acl.conf;
4848
}
49-
location ~ ^/(status|ping) {
49+
location ~ ^/(status|ping)$ {
5050
include fastcgi_params;
5151
fastcgi_pass php7;
5252
include common/acl.conf;
5353
}
5454
# EasyEngine (ee) utilities
5555
# phpMyAdmin settings
56-
location /pma {
56+
location = /pma {
5757
return 301 https://$host:22222/db/pma;
5858
}
59-
location /phpMyAdmin {
59+
location = /phpMyAdmin {
6060
return 301 https://$host:22222/db/pma;
6161
}
62-
location /phpmyadmin {
62+
location = /phpmyadmin {
6363
return 301 https://$host:22222/db/pma;
6464
}
6565
# Adminer settings
66-
location /adminer {
66+
location = /adminer {
6767
return 301 https://$host:22222/db/adminer;
6868
}

ee/cli/templates/locations.mustache

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,28 +41,28 @@ if ($uri ~* "^.+(readme|license|example)\.(txt|html)$") {
4141
return 403;
4242
}
4343
# Status pages
44-
location /nginx_status {
44+
location = /nginx_status {
4545
stub_status on;
4646
access_log off;
4747
include common/acl.conf;
4848
}
49-
location ~ ^/(status|ping) {
49+
location ~ ^/(status|ping)$ {
5050
include fastcgi_params;
5151
fastcgi_pass php;
5252
include common/acl.conf;
5353
}
5454
# EasyEngine (ee) utilities
5555
# phpMyAdmin settings
56-
location /pma {
56+
location = /pma {
5757
return 301 https://$host:22222/db/pma;
5858
}
59-
location /phpMyAdmin {
59+
location = /phpMyAdmin {
6060
return 301 https://$host:22222/db/pma;
6161
}
62-
location /phpmyadmin {
62+
location = /phpmyadmin {
6363
return 301 https://$host:22222/db/pma;
6464
}
6565
# Adminer settings
66-
location /adminer {
66+
location = /adminer {
6767
return 301 https://$host:22222/db/adminer;
6868
}

0 commit comments

Comments
 (0)