Crates.io | proksi |
lib.rs | proksi |
version | 0.4.8 |
source | src |
created_at | 2024-05-14 12:26:36.332049 |
updated_at | 2024-10-19 15:35:03.185223 |
description | A batteries-included reverse proxy with automatic HTTPS using Cloudflare Pingora and Let's Encrypt. |
homepage | https://github.com/luizfonseca/proksi |
repository | https://github.com/luizfonseca/proksi |
max_upload_size | |
id | 1239523 |
size | 358,995 |
Proksi is a simple, lightweight, and easy-to-use proxy server that automatically handles SSL, HTTP, and DNS traffic. It is designed to be used as a standalone proxy server or as a component in a larger system. Proksi is written in Rust and uses Pingora as its core networking library.
proksi.hcl
lets_encrypt {
enabled = true
email = "my@email.com"
}
paths {
# Where to save certificates?
lets_encrypt = "./"
}
# A list of routes Proksi should handle
routes = [
{
# You might need to edit your /etc/hosts file here.
host = "mysite.localhost",
# Will create a certificate for mysite.localhost
ssl_certificate = {
self_signed_on_failure = true
}
# Where to point mysite.localhost to
upstreams = [{
ip = "docs.proksi.info"
port = 443
headers = {
add = [{ name = "Host", value = "docs.proksi.info" }]
}
}]
}
]
proksi -c /path-where-proksi.hcl-is-located
For more information or guides, please refer to the documentation.
Documentation for Proksi can be found at https://docs.proksi.info which is also available in the gitbook folder of this repository.
We welcome contributions to Proksi. If you have any suggestions or ideas, please feel free to open an issue or a pull request on the GitHub repository.
Proksi is licensed under the MIT License, the Apache License 2.0 and is free to use and modify.