File: /var/lib/letsencrypt/backups/1753690359.8226054/nebonutyye_6
server {
server_name nebonutyye.foach.site pay.xn--90ahb3acf3ah7e.xn--p1ai;
root /var/www/nebonutyye;
index index.html;
client_max_body_size 20M;
charset utf-8;
location / {
root /var/www/nebonutyye;
try_files $uri /index.html;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php/php8.0-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param APPLICATION_ENV dev;
fastcgi_read_timeout 240;
}
location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }
error_page 404 /404.html;
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/pay.xn--90ahb3acf3ah7e.xn--p1ai/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/pay.xn--90ahb3acf3ah7e.xn--p1ai/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = nebonutyye.foach.site) {
return 301 https://$host$request_uri;
} # managed by Certbot
if ($host = pay.xn--90ahb3acf3ah7e.xn--p1ai) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name nebonutyye.foach.site pay.xn--90ahb3acf3ah7e.xn--p1ai;
listen 80;
return 404; # managed by Certbot
}