芝麻web文件管理V1.00
编辑当前文件:/var/lib/letsencrypt/backups/1754296389.8431115/globaleconomytv.it_2
server { server_name globaleconomytv.it www.globaleconomytv.it; root /var/www/globaleconomytv.it; 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/globaleconomytv.it/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/globaleconomytv.it/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.globaleconomytv.it) { return 301 https://$host$request_uri; } # managed by Certbot if ($host = globaleconomytv.it) { return 301 https://$host$request_uri; } # managed by Certbot listen 80; listen [::]:80; server_name globaleconomytv.it www.globaleconomytv.it; return 301 https://$host$request_uri; }