Uname:Linux mail.sarafai.ru 6.1.0-43-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.162-1 (2026-02-08) x86_64

403WebShell
403Webshell
Server IP : 82.148.16.210  /  Your IP : 216.73.216.19
Web Server : nginx/1.29.5
System : Linux mail.sarafai.ru 6.1.0-43-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.162-1 (2026-02-08) x86_64
User : root ( 0)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/lib/letsencrypt/backups/1761195160.3494098/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/lib/letsencrypt/backups/1761195160.3494098/sarafai.com.conf_7
upstream python_sarafai_com {
    server unix:/srv/projects/env3/run/gunicorn.sock fail_timeout=0;
    # server 127.0.0.1:9000 fail_timeout=0;
}

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

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

    listen [::]:80;
    listen 80;

    server_name sarafai.com www.sarafai.com;
    return 404; # managed by Certbot

    root /srv/projects/env3/src;

    location = /favicon.ico {
        log_not_found off;
        access_log off;
        alias /srv/projects/env3/src/static/favicons/favicon.ico;
    }

    # error_log /var/log/nginx/sarafai.com_error.log;
    # access_log /var/log/nginx/sarafai.com_access.log;
    error_log /srv/projects/env3/logs/nginx/sarafai.com_error.log;
    access_log /srv/projects/env3/logs/nginx/sarafai.com_access.log;

}

server {
    listen [::]:443 ssl;
    listen 443 ssl;

    http2 on;

    server_name www.sarafai.com;

    include h5bp/advanced.conf;

    # SSL
    ssl_certificate /etc/letsencrypt/live/sarafai.com/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/sarafai.com/privkey.pem; # managed by Certbot
    ssl_trusted_certificate /etc/letsencrypt/live/sarafai.com/fullchain.pem;

    return 301 https://sarafai.ru$request_uri;
}

server {
    listen [::]:443 ssl;
    listen 443 ssl;

    http2 on;

    server_name sarafai.com;

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


    charset utf-8;

    root /srv/projects/env3/src;

#    root /var/www/sarafai.ru;
#    index sarafai.ru;

    location /static {
        alias /srv/projects/env3/src/static;
        autoindex off;
    }

    location = /robots.txt {
        log_not_found off;
        access_log off;
        return 200 "Host: https://sarafai.com\n";
    }

    location = /favicon.ico {
        log_not_found off;
        access_log off;
        alias /srv/projects/env3/src/static/favicons/favicon.ico;
    }

    location = /sitemap.xml {
        log_not_found on;
        access_log on;
        alias /srv/projects/env3/src/static/sitemap.xml;
    }

    location / {
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;
        proxy_redirect off;
        proxy_pass http://python_sarafai_com;
    }

    # SSL
    ssl_certificate /etc/letsencrypt/live/sarafai.com/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/sarafai.com/privkey.pem; # managed by Certbot
    ssl_trusted_certificate /etc/letsencrypt/live/sarafai.com/fullchain.pem;

    # error_log /var/log/nginx/sarafai.com_error.log;
    # access_log /var/log/nginx/sarafai.com_access.log;
    error_log /srv/projects/env3/logs/nginx/sarafai.com_error.log;
    access_log /srv/projects/env3/logs/nginx/sarafai.com_access.log;

    include gzip.conf;
    include h5bp/advanced.conf;


}


Youez - 2016 - github.com/yon3zu
LinuXploit