Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
570 B
6
Indexable
Never
server {
    listen 80;
    server_name phpmyadmin.example.com; # Замените на ваш домен

    root /usr/share/phpmyadmin; # Путь к установленному phpMyAdmin
    index index.php index.html index.htm;

    location / {
        try_files $uri $uri/ =404;
    }

    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/var/run/php/php7.4-fpm.sock; # Путь к php-fpm
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;
    }
}
Leave a Comment