Add reverse proxy functionality that routes requests based on host headers and transforms paths by removing configured prefixes. Includes comprehensive documentation and configuration files. - Add reverse proxy with host-based routing - Implement path transformation and URL rewriting - Add YAML-based configuration for targets and endpoints - Include PostgreSQL integration with GORM models - Add comprehensive documentation and README - Add Docker configuration for deployment
19 lines
310 B
YAML
19 lines
310 B
YAML
server:
|
|
host: 0.0.0.0
|
|
port: 3000
|
|
|
|
database:
|
|
host: localhost
|
|
port: 5432
|
|
user: postgres
|
|
password: postgres
|
|
database: gogwapi
|
|
|
|
targets:
|
|
- name: "secnex.io"
|
|
group: "secnex"
|
|
records:
|
|
- record: "patchxg"
|
|
endpoints:
|
|
- path: "/api"
|
|
url: "https://httpbin.org" |