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 General Discussion
  • Search

Let's encrypt autorenew problem

General questions about VestaCP
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
tecgurus
Posts: 3
Joined: Sat Jun 19, 2021 2:50 am

Os: CentOS 6x
Web: apache + nginx
Let's encrypt autorenew problem
  • Quote

Post by tecgurus » Tue Jun 22, 2021 5:11 am

I'm using proxy_pass with SSL Letsencrypt (auto renew) api.domain.com.nginx.ssl.conf with 2 configurations like this, port 8888 i have a Java Spring Boot application:

location / {
proxy_pass http://134.209.170.XXX:8888;

location @fallback {
proxy_pass http://134.209.170.XXX:8888;

This works fine with the redirect request from api.domain.com.... to the spring boot app but i dont know why this configuration is losed and changed to https with different port #####, i think this occurs when my letsencrypt certbot renew the certificate, is there any way to avoid this change to default values ? or other way to avoid manual configuration each certain time.

Thanks a lot
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Let's encrypt autorenew problem
  • Quote

Post by skurudo » Wed Jul 14, 2021 9:59 am

May be can help some .well-know location, something separete one from app?
Top

tecgurus
Posts: 3
Joined: Sat Jun 19, 2021 2:50 am

Os: CentOS 6x
Web: apache + nginx
Re: Let's encrypt autorenew problem
  • Quote

Post by tecgurus » Wed Jul 14, 2021 11:13 am

I don't understand the posible solution
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Let's encrypt autorenew problem
  • Quote

Post by skurudo » Wed Jul 14, 2021 12:29 pm

Something like this for your domain config :

Code: Select all

location /.well-known {
    root /var/www/html;
}
root folder may be changed
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: Let's encrypt autorenew problem
  • Quote

Post by grayfolk » Tue Aug 10, 2021 9:00 am

laxmi wrote: ↑
Tue Aug 10, 2021 5:36 am
<...>
This is not related to VestaCP.
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “General Discussion”



  • 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