|
Server IP : 37.60.233.201 / Your IP : 216.73.217.25 Web Server : Apache System : Linux host.ivahost.com 4.18.0-553.107.1.lve.el8.x86_64 #1 SMP Tue Feb 24 21:12:31 UTC 2026 x86_64 User : dcaksa ( 1043) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /etc/ld.so.conf.d/../nginx/conf.d/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
server {
listen 80 reuseport;
listen [::]:80 reuseport;
# We want SSL for this server so http:// and https:// work the same for these server_name’s
listen 443 ssl reuseport;
listen [::]:443 ssl reuseport;
http2 off;
ssl_certificate /var/cpanel/ssl/cpanel/mycpanel.pem;
ssl_certificate_key /var/cpanel/ssl/cpanel/mycpanel.pem;
# $hostname because we do not want the machine's hostname to be treated as a service subdomain
# (e.g. $hostname is cpanel.example.com)
# 127.0.0.1 and localhost so that those are handled consistently like $hostname
server_name 127.0.0.1 localhost $hostname;
location / {
include conf.d/includes-optional/cpanel-proxy.conf;
proxy_pass http://$CPANEL_APACHE_PROXY_IP:$CPANEL_APACHE_PROXY_PORT;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
include conf.d/server-includes/*.conf;
}