芝麻web文件管理V1.00
编辑当前文件:/var/lib/letsencrypt/backups/1756743883.1293497/gruppocestari.com_1
server { server_name gruppocestari.com www.gruppocestari.com; root /var/www/gruppocestari.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; } # location /recordings { # autoindex on; # index index.html; # } # location @recordings { # add_header Content-Disposition 'attachment; filename="$request_filename"'; # } # listen [::]:443 ssl ipv6only=on; # managed by Certbot 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.gruppocestari.com) { return 301 https://$host$request_uri; } # managed by Certbot if ($host = gruppocestari.com) { return 301 https://$host$request_uri; } # managed by Certbot listen 80; listen [::]:80; server_name gruppocestari.com www.gruppocestari.com; return 301 https://$host$request_uri; }