mirror of
https://github.com/EngineGPDev/Autoinstall.git
synced 2025-01-18 22:02:22 +03:00
Merge pull request #9 from EngineGPDev/The-phpmyadmin-call-type-has-been-changed
The phpmyadmin call type has been changed
This commit is contained in:
commit
cee72fbac8
12
install.sh
12
install.sh
@ -317,19 +317,19 @@ RemoteIPInternalProxy 127.0.0.1
|
||||
listen 9090;
|
||||
server_name $sysIP;
|
||||
|
||||
root /usr/share;
|
||||
root /usr/share/phpmyadmin;
|
||||
|
||||
location /phpmyadmin {
|
||||
location / {
|
||||
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;
|
||||
fastcgi_pass unix:/run/php/php$defPHP-fpm.sock;
|
||||
}
|
||||
|
||||
location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
|
||||
root /usr/share;
|
||||
location ~* ^/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
|
||||
root /usr/share/phpmyadmin;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user