mirror of
https://github.com/fosrl/pangolin.git
synced 2025-10-30 06:07:25 +00:00
37 lines
902 B
YAML
37 lines
902 B
YAML
resources:
|
|
resource-nice-id-duce:
|
|
name: this is my resource
|
|
protocol: http
|
|
full-domain: level1.test3.example.com
|
|
host-header: example.com
|
|
tls-server-name: example.com
|
|
# auth:
|
|
# pincode: 123456
|
|
# password: sadfasdfadsf
|
|
# sso-enabled: true
|
|
# sso-roles:
|
|
# - Member
|
|
# sso-users:
|
|
# - owen@fossorial.io
|
|
# whitelist-users:
|
|
# - owen@fossorial.io
|
|
headers:
|
|
- X-Example-Header: example-value
|
|
- X-Another-Header: another-value
|
|
targets:
|
|
- site: lively-yosemite-toad
|
|
hostname: localhost
|
|
method: http
|
|
port: 8000
|
|
- site: slim-alpine-chipmunk
|
|
hostname: localhost
|
|
method: http
|
|
port: 8001
|
|
resource-nice-id2:
|
|
name: this is other resource
|
|
protocol: tcp
|
|
proxy-port: 3000
|
|
targets:
|
|
- site: lively-yosemite-toad
|
|
hostname: localhost
|
|
port: 3000 |