flowgate/README.md
2024-06-06 00:28:16 +03:00

27 lines
591 B
Markdown

# HttpRRS
HTTP request redirection system
Default `conf.yml`:
```yml
http_host: localhost:80
https_host: localhost:443
sites:
# - domain: example.com # Domain with SSL
# host: localhost:8080
# ssl_cert: "/path/to/public/certificate.txt"
# ssl_key: "/path/to/private/key.txt"
# - domain: sub.example.com # Domain with no SSL
# host: localhost:8081
- domain: localhost
host: localhost:8080
```
## How it works
This works as a proxy that redirects based on the Host header
![explaination.png](explaination.png)