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

SSL update problem

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
apacska
Posts: 2
Joined: Sun Nov 25, 2018 9:21 am

Os: Ubuntu 16x
Web: apache + nginx
SSL update problem
  • Quote

Post by apacska » Sun Nov 25, 2018 10:06 am

Hello!

This is my very first topic! :)
I have a problem with SSL update (v-update-letsencrypt-ssl).

When cron job runs v-update-letsencrypt-ssl command, for all https domain redirect to domain.tld/login (VestCP login) page, but http works fine.

Vesta CP: v0.9.8-23
Ubuntu 18.04
nginx+apache
Top

Aporie
Posts: 8
Joined: Sat Dec 30, 2017 8:07 pm

Re: SSL update problem
  • Quote

Post by Aporie » Mon Nov 26, 2018 8:37 am

Can you check your apache config files in ~/conf/web/domain.tlf.apache.ssl.conf ?

If you don't know what to do please paste it here.
Top

apacska
Posts: 2
Joined: Sun Nov 25, 2018 9:21 am

Os: Ubuntu 16x
Web: apache + nginx
Re: SSL update problem
  • Quote

Post by apacska » Mon Nov 26, 2018 9:39 am

Aporie wrote: ↑
Mon Nov 26, 2018 8:37 am
Can you check your apache config files in ~/conf/web/domain.tlf.apache.ssl.conf ?

If you don't know what to do please paste it here.
Thank you!

In ~/conf/web/domain.tlf.apache.ssl.conf:

<VirtualHost IP:PORT>
Port was wrong, it was my custom Vesta CP login port and not 8443.

In domain.tld.nginx.ssl.conf:
location / {
proxy_pass https://IP:PORT ----- Wrong Port, it was my custom Vesta CP login port...
}

location @fallback {
proxy_pass https://IP:PORT ----- Wrong Port, it was my custom Vesta CP login port...
}

I corrected it to port 8443, now all working fine, but when I add a new domain or make an ssl update, it will be added with the wrong port.

Why use it my custom Vesta CP login port insted of 8443?

I checked nginx template file (/usr/local/vesta/data/templates/web/nginx/default.stpl) there is a variable "web_ssl_port". Where can I set this variable, because it is wrong, it is my custom Vesta CP port instead of 8443.
Top


Post Reply
  • Print view

3 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