HEX
Server: nginx/1.24.0
System: Linux 19.178.153.160.host.secureserver.net 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
User: www-data (33)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //tmp/click2code-nginx
server {
    server_name click2code.com www.click2code.com;
    root /home/admin2/click2code;
    index index.php index.html;
    charset utf-8;

    location / {
        try_files $uri $uri/ =404;
    }

    location ~ \.php$ {
        fastcgi_split_path_info ^(.+?\.php)(/.*)$;
        fastcgi_pass unix:/run/php/php8.3-fpm.sock;
        fastcgi_index index.php;
        include fastcgi.conf;
    }

    location = /favicon.ico { access_log off; log_not_found off; }
    location = /robots.txt  { access_log off; log_not_found off; }

    gzip on;
    gzip_vary on;
    gzip_proxied any;
    gzip_comp_level 6;
    gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript image/svg+xml;

    location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc|webp)$ {
        expires 1y;
        access_log off;
        add_header Cache-Control "public, no-transform";
    }

    location ~* \.(?:css|js)$ {
        expires 1y;
        access_log off;
        add_header Cache-Control "public, no-transform";
    }

    location ~* \.(?:ttf|ttc|otf|eot|woff|woff2)$ {
        expires 1y;
        access_log off;
        add_header Cache-Control "public, no-transform";
        add_header Access-Control-Allow-Origin "*";
    }

    location ~ /\.(?!well-known).* {
        deny all;
    }

    add_header X-Server-Block click2code;

    listen 443 ssl;
    ssl_certificate /etc/letsencrypt/live/click2code.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/click2code.com/privkey.pem;
    include /etc/letsencrypt/options-ssl-nginx.conf;
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
}
server {
    if ($host = www.click2code.com) {
        return 301 https://$host$request_uri;
    }
    if ($host = click2code.com) {
        return 301 https://$host$request_uri;
    }
    listen 80;
    server_name click2code.com www.click2code.com;
    return 404;
}