Forum

NGINX - change phpm...
 
Notifications
Clear all

NGINX - change phpmyadmin location and alias

1 Posty
1 Users
0 Reactions
1,295 Widok
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: