Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

[SOLVED] nginx caching template fails with Let's Encrypt SSL

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
jcerdan
Posts: 13
Joined: Mon Apr 09, 2018 7:36 pm

Os: Ubuntu 15x
Web: apache + nginx
[SOLVED] nginx caching template fails with Let's Encrypt SSL
  • Quote

Post by jcerdan » Mon Oct 22, 2018 11:57 am

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?
Last edited by jcerdan on Mon Oct 22, 2018 2:10 pm, edited 1 time in total.
Top

jcerdan
Posts: 13
Joined: Mon Apr 09, 2018 7:36 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: nginx caching template fails with Let's Encrypt SSL
  • Quote

Post by jcerdan » Mon Oct 22, 2018 2:09 pm

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
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password