# 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;
}
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]