Skip to content

fedevilensky/simple-reverse-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of Contents:

Simple Reverse Proxy

This reverse proxy works by proxying a subdomain to whatever address you want

To run it, just call the compiled program, it will look for a file called config.yaml in $pwd. If you want to load another config file, you need to pass it as an argument simpleproxy /path/to/config.yml. The extension does not really matter, as long as the file itself is written in yaml

Configuration

As the name suggests, it's pretty simple, you just need to specify which port the program will run, and the routing. For example

---
port: 80
routes:
  - subdomain: away
    to: http://myurl/
  - subdomain: home
    to: http://127.0.0.1/
  - subdomain: farfaraway
    to: http://anotherurl:port/from/here/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages