Gogs as a sub domain
-
- Posts: 14
- Joined: Tue Nov 07, 2017 6:23 am
Gogs as a sub domain
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
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
Re: Gogs as a sub domain
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
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
Re: Gogs as a sub domain
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
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