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/neweraeducationhub.com.conf
server {
		client_max_body_size 102400M;
        root /data/neweraeducationhub.com;
        index index.html index.htm index.nginx-debian.html;

        server_name www.neweraeducationhub.com neweraeducationhub.com;

        location / {
			#proxy_pass http://localhost:3010;
			#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;
            root  /data/neehu_coming;
            index  index.html index.htm;
            try_files $uri $uri/ =404;
        }



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


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



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




}