SSL Letsencrypt auto renew problem
Posted: Sat Jun 19, 2021 2:56 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:
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
Code: Select all
location / {
proxy_pass http://134.209.170.XXX:8888;
location @fallback {
proxy_pass http://134.209.170.XXX:8888;
Thanks a lot