mirror of
https://github.com/EngineGPDev/Autoinstall.git
synced 2025-01-18 22:02:22 +03:00
The phpmyadmin call type has been changed
Before: http://IP-Address:9090/phpmyadmin Now: http://IP-Address/phpmyadmin
This commit is contained in:
parent
1442b93a1c
commit
a94a1a4574
12
install.sh
12
install.sh
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user