X7ROOT File Manager
Current Path:
/etc/nginx/conf.d
etc
/
nginx
/
conf.d
/
📁
..
📄
cpanel-proxy-non-ssl.conf
(1.27 KB)
📄
default.conf
(964 B)
📄
ea-nginx.conf
(3.67 KB)
📄
global-logging.conf
(1.56 KB)
📁
includes-optional
📁
modules
📁
server-includes
📁
server-includes-standalone
📁
users
📄
users.conf
(29 B)
Editing: cpanel-proxy-non-ssl.conf
# conf.d/default.conf will prevent the machine's hostname from being treated like a service subdomain server { server_name cpanel.*; listen 80; listen [::]:80; # Only set this if the USER_ID touch file is in place # set $USER_ID ""; return 301 https://$host$request_uri; } server { server_name webmail.*; listen 80; listen [::]:80; # Only set this if the USER_ID touch file is in place # set $USER_ID ""; return 301 https://$host$request_uri; } server { server_name whm.*; listen 80; listen [::]:80; # Only set this if the USER_ID touch file is in place # set $USER_ID ""; return 301 https://$host$request_uri; } server { server_name webdisk.*; listen 80; listen [::]:80; # Only set this if the USER_ID touch file is in place # set $USER_ID ""; return 301 https://$host$request_uri; } server { server_name cpcalendars.*; listen 80; listen [::]:80; # Only set this if the USER_ID touch file is in place # set $USER_ID ""; return 301 https://$host$request_uri; } server { server_name cpcontacts.*; listen 80; listen [::]:80; # Only set this if the USER_ID touch file is in place # set $USER_ID ""; return 301 https://$host$request_uri; }
Upload File
Create Folder