The phpmyadmin call type has been changed

Before: http://IP-Address:9090/phpmyadmin
Now: http://IP-Address/phpmyadmin
This commit is contained in:
Sergei Solovev 2024-04-13 01:33:27 +03:00
parent 1442b93a1c
commit a94a1a4574

View File

@ -317,19 +317,19 @@ RemoteIPInternalProxy 127.0.0.1
listen 9090; listen 9090;
server_name $sysIP; server_name $sysIP;
root /usr/share; root /usr/share/phpmyadmin;
location /phpmyadmin { location / {
index index.php; index index.php;
try_files \$uri \$uri/ /phpmyadmin/index.php; try_files \$uri \$uri/ /index.php;
location ~ ^/phpmyadmin/(.+\.php)$ { location ~ ^/(.+\.php)$ {
include snippets/fastcgi-php.conf; include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php$defPHP-fpm.sock; fastcgi_pass unix:/run/php/php$defPHP-fpm.sock;
} }
location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ { location ~* ^/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
root /usr/share; root /usr/share/phpmyadmin;
} }
} }