芝麻web文件管理V1.00
编辑当前文件:/var/lib/letsencrypt/backups/1756743883.1293497/italafricacentrale.com_10
server { server_name italafricacentrale.com www.italafricacentrale.com; root /var/www/italafricacentrale.com; index index.php; location / { try_files $uri $uri/ /index.php?$args; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php8.2-fpm.sock; } location ~ /\.ht { deny all; } listen 443 ssl; # managed by Certbot ssl_certificate /etc/letsencrypt/live/gruppocestari.com/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/gruppocestari.com/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 = www.italafricacentrale.com) { return 301 https://$host$request_uri; } # managed by Certbot if ($host = italafricacentrale.com) { return 301 https://$host$request_uri; } # managed by Certbot listen 80; listen [::]:80; server_name italafricacentrale.com www.italafricacentrale.com; return 301 https://$host$request_uri; }