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/1738285949.6017578/harv.livera.id.conf_15
server {
         server_name  harv.livera.id;
         root         /var/www/harv.livera.id;

         access_log /var/log/nginx/harv-livera.log;
         error_log  /var/log/nginx/harv-livera-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/php8.2-fpm.sock;
            fastcgi_index index.php;
	    include fastcgi_params;
	    fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
    }


    listen 443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/harv.livera.id/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/harv.livera.id/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 = harv.livera.id) {
        return 301 https://$host$request_uri;
    } # managed by Certbot


         server_name  harv.livera.id;

    listen 80;
    return 404; # managed by Certbot


}