http and https reverse proxy server
Go to file
2024-06-06 00:33:46 +03:00
src init commit 2024-06-06 00:28:16 +03:00
Cargo.toml init commit 2024-06-06 00:28:16 +03:00
conf.yml init commit 2024-06-06 00:28:16 +03:00
explaination.png init commit 2024-06-06 00:28:16 +03:00
README.md Update README.md 2024-06-06 00:33:46 +03:00

HttpRRS

HTTP request redirection system

Default conf.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 This makes it possible to create several http servers on one hosting with one IP address, also using ssl encryption

explaination.png