HEX
Server: nginx/1.24.0
System: Linux webserver 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64
User: wpuser (1002)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //etc/nginx/sites-enabled/chetantiwari.com
server {

    server_name chetantiwari.com www.chetantiwari.com;

    root /opt/wpsites/default;
    index index.html;

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


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


    if ($host = chetantiwari.com) {
        return 301 https://$host$request_uri;
    } # managed by Certbot



    server_name chetantiwari.com www.chetantiwari.com;
    listen 80;
    return 404; # managed by Certbot




}