mirror of
https://github.com/nxshock/gonx.git
synced 2025-07-01 23:53:35 +05:00
Add unix socket example
This commit is contained in:
parent
87698b6d52
commit
b6c45bc386
1 changed files with 3 additions and 2 deletions
|
@ -26,6 +26,7 @@ AcmeChallengePath = "/var/lib/letsencrypt" # Path for ACME challenge files
|
||||||
|
|
||||||
# Map of hostname -> redirect URL
|
# Map of hostname -> redirect URL
|
||||||
[TLS]
|
[TLS]
|
||||||
"git.host.com" = "tcp://127.0.0.1:8001" # TCP redirect
|
"git.host.com" = "tcp://127.0.0.1:8001" # TCP redirect
|
||||||
"www.host.com" = "file:///srv/http" # simple static file server from `/srv/http`
|
"unix.host.com" = "unix:///var/lib/app/app.socket" # serve unix socket
|
||||||
|
"www.host.com" = "file:///srv/http" # simple static file server from `/srv/http`
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue