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/1740498280.396072/herryo.com.conf_8
server {
         server_name  herryo.com;
         root         /home/herryo/herryo.com;

         access_log /var/log/nginx/herryo.log;
         error_log  /var/log/nginx/herryo-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-herryo.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/herryo.com/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/herryo.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 = herryo.com) {
        return 301 https://$host$request_uri;
    } # managed by Certbot


         server_name  herryo.com;

    listen 80;
    return 404; # managed by Certbot


}