File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments