HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /proc/self/root/etc/nginx/sites-enabled/
Upload File :
Current File : //proc/self/root/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;
    }


}