HEX
Server: LiteSpeed
System: Linux CentOS-79-64-minimal 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: vishn3436 (5293)
PHP: 8.0.15
Disabled: NONE
Upload Files
File: //storage02/RYPY-Recovery/nginx/conf.d/udaancharitabletrust.org.conf
server {
	client_max_body_size 102400M;
    root /data/udaancharitabletrust.org;
    index index.html index.htm index.nginx-debian.html;

    server_name udaancharitabletrust.org www.udaancharitabletrust.org;

    location / {
		proxy_pass http://localhost:3020;
		proxy_http_version 1.1;
		proxy_set_header Upgrade $http_upgrade;
		proxy_set_header Connection 'upgrade';
		proxy_set_header Host $host;
		proxy_cache_bypass $http_upgrade;
    }


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


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



    server_name udaancharitabletrust.org www.udaancharitabletrust.org;
    listen 80;
    return 404; # managed by Certbot




}