| Server IP : 185.252.147.100 / Your IP : 216.73.216.196 Web Server : nginx/1.27.3 System : Linux mitrofanov.ru 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 User : mitr ( 1000) PHP Version : 8.2.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /www/sites/ |
Upload File : |
server {
listen 80;
listen [::]:80;
listen 443 quic;
listen 443 ssl;
listen [::]:443 ssl;
listen [::]:443 quic;
server_name pma.mitrofanov.ru;
ssl_certificate /etc/letsencrypt/live/pma.mitrofanov.ru/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/pma.mitrofanov.ru/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/pma.mitrofanov.ru/chain.pem;
# Redirect to the correct place, if needed
set $https_redirect 0;
if ($server_port = 80) { set $https_redirect 1; }
if ($host ~ '^www\.') { set $https_redirect 1; }
if ($https_redirect = 1) {
return 301 https://SERVERNAME$request_uri;
}
#include /etc/nginx/bots.d/blockbots.conf;
root /usr/share/phpmyadmin;
index index.php;
location / {
try_files $uri $uri/ /index.php$is_args$args;
# kill cache
add_header Last-Modified $date_gmt;
add_header Cache-Control 'no-store, no-cache';
if_modified_since off;
expires off;
etag off;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
location ~ \.php$ {
try_files $uri =404;
#fastcgi_split_path_info ^(.+\.php)(/.+)$;
#fastcgi_pass unix:/run/php/php8.2-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
#fastcgi_index index.php;
#include fastcgi_params;
include /www/nconf/fcgi;
#fastcgi_intercept_errors on;
}
}