Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /etc/nginx/conf.d/users/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //etc/nginx/conf.d/users/plexustrust.conf
#### main domain for plexustrust ##
server {
    server_name plexustrust.net www.plexustrust.net mail.plexustrust.net 203.161.60.200;
    listen 80;
    listen [::]:80;

    access_log /var/log/nginx/domains/plexustrust.net cp_combined;
    access_log /var/log/nginx/domains/plexustrust.net-bytes_log cp_bytes_server;
    
    include conf.d/includes-optional/cloudflare.conf;

    set $CPANEL_APACHE_PROXY_PASS $scheme://apache_backend_${scheme}_203_161_60_200;

    # For includes:
    set $CPANEL_APACHE_PROXY_IP 203.161.60.200;
    set $CPANEL_APACHE_PROXY_SSL_IP 203.161.60.200;
    set $CPANEL_SERVICE_SUBDOMAIN 0;

    listen 443 ssl;
    listen [::]:443 ssl;

    http2 on;

    ssl_certificate /var/cpanel/ssl/apache_tls/plexustrust.net/combined;
    ssl_certificate_key /var/cpanel/ssl/apache_tls/plexustrust.net/combined;
        
    ssl_protocols TLSv1.2 TLSv1.3;
    proxy_ssl_protocols TLSv1.2 TLSv1.3;
    ssl_prefer_server_ciphers on;
    ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256;
    proxy_ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256;
            
    root "/home/plexustrust/public_html";

    location /cpanelwebcall {
        include conf.d/includes-optional/cpanel-proxy.conf;
        proxy_pass http://127.0.0.1:2082/cpanelwebcall;
    }

    location /Microsoft-Server-ActiveSync {
        include conf.d/includes-optional/cpanel-proxy.conf;
        proxy_pass http://127.0.0.1:2090/Microsoft-Server-ActiveSync;
    }

    location = /favicon.ico {
        allow all;
        log_not_found off;
        access_log off;
        include conf.d/includes-optional/cpanel-proxy.conf;
        proxy_pass $CPANEL_APACHE_PROXY_PASS;
    }

    location = /robots.txt {
        allow all;
        log_not_found off;
        access_log off;
        include conf.d/includes-optional/cpanel-proxy.conf;
	proxy_pass $CPANEL_APACHE_PROXY_PASS;
    }

    location / {

        include conf.d/includes-optional/cpanel-proxy.conf;
        proxy_pass $CPANEL_APACHE_PROXY_PASS;
    }

            
    include conf.d/server-includes/*.conf;
    include conf.d/users/plexustrust/*.conf;
    include conf.d/users/plexustrust/plexustrust.net/*.conf;
}
server {
    listen 80;
    listen [::]:80;

    listen 443 ssl;
    listen [::]:443 ssl;

    http2 on;

    ssl_certificate /var/cpanel/ssl/apache_tls/plexustrust.net/combined;
    ssl_certificate_key /var/cpanel/ssl/apache_tls/plexustrust.net/combined;

    server_name  cpanel.plexustrust.net cpcalendars.plexustrust.net cpcontacts.plexustrust.net webdisk.plexustrust.net webmail.plexustrust.net;

    include conf.d/includes-optional/cloudflare.conf;

    set $CPANEL_APACHE_PROXY_PASS $scheme://apache_backend_${scheme}_203_161_60_200;

    # For includes:
    set $CPANEL_APACHE_PROXY_IP 203.161.60.200;
    set $CPANEL_APACHE_PROXY_SSL_IP 203.161.60.200;
    set $CPANEL_SERVICE_SUBDOMAIN 1;

    location /.well-known/cpanel-dcv {
        root "/home/plexustrust/public_html";
        disable_symlinks if_not_owner;
    }

    location /.well-known/pki-validation {
        root "/home/plexustrust/public_html";
        disable_symlinks if_not_owner;
    }

    location /.well-known/acme-challenge {
        root "/home/plexustrust/public_html";
        disable_symlinks if_not_owner;
    }

    location / {
        # Force https for service subdomains
        if ($scheme = http) {
            return 301 https://$host$request_uri;
        }

        # no cache
        proxy_cache off;
        proxy_no_cache 1;
        proxy_cache_bypass 1;

        # pass to Apache
        include conf.d/includes-optional/cpanel-proxy.conf;
        proxy_pass $CPANEL_APACHE_PROXY_PASS;
    }
}

ZeroDay Forums Mini