Forum

NGINX - change phpm...
 
Notifications
Clear all

NGINX - change phpmyadmin location and alias

   RSS

0
Topic starter

example

1 Answer
0
Topic starter

example for php-fpm (inside server { } )

location /padmin/ {
           alias /usr/share/phpmyadmin/;
 }

location ~ ^/padmin/(.+.php)$ {
        alias /usr/share/phpmyadmin/;
        fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$1;
        include fastcgi_params;
   }

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: