Answers for "nginx add phpmyadmin on subdomain"

PHP
0

nginx phpmyadmin subdirectory

location ~* ^/phpmyadmin(?<pmauri>/.*)? {
        alias /usr/share/phpmyadmin/;
        index index.php;
        try_files $pmauri $pmauri/ =404;
        location ~ .php$ {
            include fastcgi.conf;
            fastcgi_index index.php;
            fastcgi_param SCRIPT_FILENAME $document_root$pmauri;
            fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
        }
    }
Posted by: Guest on January-03-2021

Code answers related to "nginx add phpmyadmin on subdomain"

Browse Popular Code Answers by Language