[SOLVED] nginx caching template fails with Let's Encrypt SSL
[SOLVED] nginx caching template fails with Let's Encrypt SSL
Hi,
When trying to configure the caching template from nginx with a domain under SSL LE, nginx makes 301 loop redirections.
I have modified /usr/local/vesta/data/templates/web/nginx/caching.sh to solve the problem of duplicate lines in /var/cache/nginx/$domain
and also modified this https://github.com/serghey-rodin/vesta/issues/1233
but stills, redirects 301 exist and there's no way to put a site under nginx caching template and SSL Let's Enrcypt.
Has someone had success with that config?
When trying to configure the caching template from nginx with a domain under SSL LE, nginx makes 301 loop redirections.
I have modified /usr/local/vesta/data/templates/web/nginx/caching.sh to solve the problem of duplicate lines in /var/cache/nginx/$domain
and also modified this https://github.com/serghey-rodin/vesta/issues/1233
but stills, redirects 301 exist and there's no way to put a site under nginx caching template and SSL Let's Enrcypt.
Has someone had success with that config?
Last edited by jcerdan on Mon Oct 22, 2018 2:10 pm, edited 1 time in total.
Re: nginx caching template fails with Let's Encrypt SSL
Hi,
Solved this doing exactly both things indicated... don't know what was wrong before. So, for next people trying to find the problem:
1) modifiy /usr/local/vesta/data/templates/web/nginx/caching.sh to solve the problem of duplicate lines in /var/cache/nginx/$domain
2) https://github.com/serghey-rodin/vesta/issues/1233
This has to be done at least in Ubuntu 16.04 and VestaCP 0.9.8-23
Regards
Solved this doing exactly both things indicated... don't know what was wrong before. So, for next people trying to find the problem:
1) modifiy /usr/local/vesta/data/templates/web/nginx/caching.sh to solve the problem of duplicate lines in /var/cache/nginx/$domain
2) https://github.com/serghey-rodin/vesta/issues/1233
This has to be done at least in Ubuntu 16.04 and VestaCP 0.9.8-23
Regards