| 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/enabled/templates/mail and dav/ |
Upload File : |
server {
listen 443 quic;
listen 443 ssl;
listen [::]:443 ssl;
listen [::]:443 quic;
server_name postmaster.k-45.ru;
root /www/html/postfixadmin/public;
include /www/nginx/headers_common.conf;
if ($bad_user_agent) {return 444;}
if ($da_block) {return 444;}
if ($bad_referer) {return 444;}
more_set_headers 'X-Robots-Tag: noindex, nofollow, nosnippet, noarchive';
include /www/nginx/error_404.conf;
include /www/nginx/error_server.conf;
include /www/nginx/favicon.conf;
location / {
# auth_basic "Restricted Content";
# auth_basic_user_file /etc/nginx/.htpasswd;
include /www/nginx/headers.conf;
add_header Content-Security-Policy "default-src 'self' https: data: 'unsafe-inline'; frame-src 'self' blob:; frame-ancestors 'self'; form-action 'self'; script-src 'self' blob: 'unsafe-inline' 'unsafe-eval';" always;
location ~ ^[^.]*$ {
fastcgi_param SCRIPT_FILENAME $document_root/main.php;
include /www/nginx/fastcgi.conf;
}
location ~* \.php$ {
fastcgi_param SCRIPT_FILENAME $request_filename;
include /www/nginx/fastcgi.conf;
}
}
include /www/nginx/wp_static.conf;
}
#
# Redirect all www to non-www
#
server {
listen 443 quic;
listen 443 ssl;
listen [::]:443 ssl;
listen [::]:443 quic;
server_name www.postmaster.k-45.ru;
return 301 https://postmaster.k-45.ru$request_uri;
}
server {
listen 80;
listen [::]:80;
server_name postmaster.k-45.ru www.postmaster.k-45.ru;
return 301 https://postmaster.k-45.ru$request_uri;
}