Hi,
I have had a developer implement varnish with SSL termination on our cpanel server. Everything works fine except every so often our default_https.conf file keeps getting overwritten in /etc/nginx/conf.d
I think the only changes made in this file is our domain name has been commented out ( # www.domain.com) see below
I have asked our developer to resolve this as every time this file is overwritten our varnish is disabled. Creating performance issues, but I have not heard back.
I am not hugely experienced with server admin but can find my way around. I was hoping someone could help with advising how I can make these changes permanent.
Thanks
I have had a developer implement varnish with SSL termination on our cpanel server. Everything works fine except every so often our default_https.conf file keeps getting overwritten in /etc/nginx/conf.d
I think the only changes made in this file is our domain name has been commented out ( # www.domain.com) see below
Code:
# Definition block for domain(s): domain.com mail.domain.com www.domain.com webmail.domain.com cpanel.domain.com webdisk.domain.com #
server {
listen 443 ssl http2;
#listen [::]:443 ssl http2 ipv6only=off;
server_name domain.com
mail.domain.com
# www.domain.com
webmail.domain.com
cpanel.domain.com
webdisk.domain.com;
# deny all; # DO NOT REMOVE OR CHANGE THIS LINE - Used when Engintron is disabled to block Nginx from becoming an open proxy
ssl_certificate /var/cpanel/ssl/apache_tls/domain.com/combined;
ssl_certificate_key /var/cpanel/ssl/apache_tls/domain.com/combined;
include common_https.conf;
}
I am not hugely experienced with server admin but can find my way around. I was hoping someone could help with advising how I can make these changes permanent.
Thanks