Skip to content

Masong19hippows/go-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Website Built With Golang

go-website that has a backend to manage reverse proxy connections

What is This?

This is a website built with golang. When accessing / on the given port, it will function like a normal site. There is also an email functionality that requires a gmail app password associated with the account noreplymasongarten

It is also a reverse proxy manager. The goal is to have an easy-to-use interface that users can delicate certain url's with, to act as a reverse proxy. You can add any URL you want into the proxy manager. If it is an https site, the site will automatically redirect you to the https version of the site.

YOU CANNOT ACCESS THE PROXY MANAGER ON AN OUTSIDE NETWORK. It must be accessed through a private ip address.

The proxy manager looks like this: Looks like this

Install

The install is easy. Just follow below steps.

Prerequisites:

  • golang installed
  • git installed

Steps:

  • git clone https://github.com/Masong19hippows/go-website.git

  • cd go-website

  • go build

Auto-Start

There is a systemd service script go-website.service
This script can be moved with mv go-website.service /etc/systemd/system/

How to Use?

It can executed like a normal program with .\go-website.exe for windows and ./go-website for linux

There is one flag. The flag controls the app-password used to send emails.

The gmail app-password can be changed with the flag -password <appPassword>
The default is nothing

There is a default reverse proxy being servered on port 6000
You need to access this to manage proxies You can access this by adding /proxy to the url to get there

When adding a proxy, if you want to add a path to the url, you must only put the url in the url spot,
and put the path in the postfix spot.

Thats All. Have Fun!!!

About

Personal Website with Backend Written in Golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published