This commit is contained in:
Jun Kurihara 2022-08-14 14:48:20 +09:00 committed by GitHub
commit d922f41dc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -125,10 +125,10 @@ First of all, you need to specify a port `listen_port_tls` listening the HTTPS t
```toml ```toml
listen_port = 80 listen_port = 80
listen_port_tls = 443 listen_port_tls = 443
tls = { tls_cert_path = 'localhost.crt', tls_cert_key_path = 'localhost.key' }
[apps."app_name"] [apps."app_name"]
server_name = 'app1.example.com' server_name = 'app1.example.com'
tls = { tls_cert_path = 'localhost.crt', tls_cert_key_path = 'localhost.key' }
reverse_proxy = [{ upstream = [{ location = 'app1.local:8080' }] }] reverse_proxy = [{ upstream = [{ location = 'app1.local:8080' }] }]
``` ```