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

Gogs as a sub domain

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
amaisonneuve
Posts: 14
Joined: Tue Nov 07, 2017 6:23 am

Gogs as a sub domain
  • Quote

Post by amaisonneuve » Fri Jun 01, 2018 2:51 am

I’m currently running a dedicated server with multiple websites running in a VestaCP control panel

I setup a subdomain: http://gogs.ignitedsolution.com/

It won’t launch.

I follow all of the instructions on this: https://gist.github.com/joubertredrat/7 ... 660c9d760a

Also, please provide your Gogs version, system, database.

Running: Gogs 0.11.43.0330
System: Ubuntu 16.04
DB: MySQL\

Tried it with NGINX enable and disabled

My public_html is empty

I don’t see anything in the logs. the supervisor doesn’t launch…

what am i missing as all i see is the default powered by Vesta page
Top

k26
Posts: 12
Joined: Sat Feb 10, 2018 4:56 am

Os: CentOS 6x
Web: apache + nginx
Re: Gogs as a sub domain
  • Quote

Post by k26 » Mon Jun 04, 2018 3:26 pm

Gogs is running well with VestaCP. I use it with CentOS. Check if the directory where you installed gogs is owned by your user **admin** (that's what you wrote you used) and has the rights to read/write. And check if port 3000 is opened with your VestaCP admin panel (firewall). I don't have my documentation here, but that were the main points I met.
If your supervisor does not run, maybe you need to install it ! Here is what I did with CentOS
```
yum install supervisor -y
systemctl daemon-reload
systemctl start supervisord
systemctl status supervisord
systemctl enable supervisord
```
Hope that helps a little
Top

noogen
Posts: 66
Joined: Thu Jan 05, 2017 9:20 pm

Re: Gogs as a sub domain
  • Quote

Post by noogen » Fri Jun 22, 2018 4:41 am

When I go to the link you posted above, it show VESTA default page. Please reread the instruction from the gist, I think you missed:

Step #5 - use apache to proxy to port 3000
Step #6 - configuration on "Http Port" to 3000

Personally, because I know nginx, I just proxy pass from nginx directly to gogs port instead of going through nginx -> apache -> gogs
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