Mini Shell
Direktori : /etc/nginx/conf.d/ |
|
Current File : //etc/nginx/conf.d/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;
}
Zerion Mini Shell 1.0