root /usr/share/phpmyadmin;
add_header X-Frame-Options DENY;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
client_max_body_size 256M;
error_page 404 @notfound;
index index.html index.php;
try_files $uri $uri/ /index.php?$args;
location ~* \.(gif|jpg|jpeg|png|bmp|js|css)$ {
include snippets/fastcgi-php.conf;
################## UBUNTU 18.04 LTS ##################
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
################## UBUNTU 20.04 LTS ##################
# fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
return 404 "You're not browsing correctly.";
add_header Content-Type text/plain always;