This commit is contained in:
Jun Kurihara 2022-07-05 23:18:56 +09:00
commit 68b32d7bdd
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
3 changed files with 4 additions and 4 deletions

View file

@ -45,7 +45,7 @@ reverse_proxy = [
] },
]
# Optional: TLS setting. if https_port is specified and tls is true above, this must be given.
tls = { https_redirection = true, tls_cert_path = './localhost.pem', tls_cert_key_path = './localhost.pem' }
tls = { https_redirection = true, tls_cert_path = '/tmp/localhost.pem', tls_cert_key_path = '/tmp/localhost.pem' }
## List of destinations to send data to.

View file

@ -5,12 +5,12 @@ services:
container_name: rpxy
restart: unless-stopped
ports:
- 127.0.0.1:8080:80
- 127.0.0.1:8443:443
- 127.0.0.1:8080:8080
- 127.0.0.1:8443:8443
build:
context: ./
tty: false
privileged: true
volumes:
- ./localhost.pem:/localhost.pem:ro
- ./localhost.pem:/tmp/localhost.pem:ro
- ./config-example.toml:/etc/rpxy.toml:ro