HEX
Server: nginx/1.26.1
System: Linux main-vm 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
User: root (0)
PHP: 8.2.19
Disabled: NONE
Upload Files
File: //var/lib/letsencrypt/backups/1737055042.630582/bellecouture.conf_1
server {
         server_name  bellecouture.id;
         root         /var/www/bellecouture;

         access_log /var/log/nginx/bc.log;
         error_log  /var/log/nginx/bc-error.log error;
         index index.html index.htm index.php;

         location / {
                      try_files $uri $uri/ /index.php$is_args$args;
         }

         location ~ \.php$ {
            fastcgi_split_path_info ^(.+\.php)(/.+)$;
            fastcgi_pass unix:/var/run/php-bellecouture.sock;
            fastcgi_index index.php;
	    include fastcgi_params;
	    fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
    }

    listen 80;

}

server {
    if ($host = www.bellecouture.id) {
        return 301 https://bellecouture.id$request_uri;
    } # managed by Certbot


         listen       80;
         server_name  www.bellecouture.id;
    return 404; # managed by Certbot


}