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

strange ssl problem with reverse proxy

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
whoami
Posts: 2
Joined: Sat Oct 03, 2020 7:14 am

Os: CentOS 5x
Web: apache + nginx
strange ssl problem with reverse proxy
  • Quote

Post by whoami » Sat Oct 03, 2020 7:24 am

Solved pls see below reply i solved it hope it will help someone
Last edited by whoami on Sat Oct 03, 2020 8:48 am, edited 1 time in total.
Top

whoami
Posts: 2
Joined: Sat Oct 03, 2020 7:14 am

Os: CentOS 5x
Web: apache + nginx
Re: strange ssl problem with reverse proxy
  • Quote

Post by whoami » Sat Oct 03, 2020 8:44 am

never mind i solved it its about setting custom parameter in app.ini
god gogs default config sucks lol

Code: Select all


PROTOCOL = https
EXTERNAL_URL = https://yourdomain.com/
CERT_FILE = /home/****/*****/ssl.crt
KEY_FILE = /home/******/****/ssl.key
HTTP_PORT        = 3000
DISABLE_SSH      = false
SSH_PORT         = 22
START_SSH_SERVER = false
OFFLINE_MODE     = false

after making these changes and restart gogs it worked perfectly
Top

jackdanielux
Posts: 5
Joined: Fri Oct 16, 2020 5:04 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: strange ssl problem with reverse proxy
  • Quote

Post by jackdanielux » Fri Oct 16, 2020 5:10 pm

Hi

I seem to have a similar problem, only that I don't know how to fix them:
- I have a web app running on http://mysub.domain.com:9000
- This url is the admin dashboard of the app
- This app shoots email with public facing URLs like http://mysub.domain.com:9000/xxx/xxx/xxx (which lead to an action within my app)
- The mysub.domain.com is SSL enabled and loads with SSL but the moment the port (9000) is added it returns error page and I have to access it via http
- The problem : 1 - port is visible to public and 2 - the URL shows insecure
- The solution required : 1 - port to be removed without the action of the URL to be impacted and the same URL needs to be served on SSL

Any help is appreciated.
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