From 68b32d7bdd7b78c5f106a527a48b850eb8b6e0cb Mon Sep 17 00:00:00 2001 From: Jun Kurihara Date: Tue, 5 Jul 2022 23:18:56 +0900 Subject: [PATCH] fix bug --- config-example.toml | 2 +- docker-compose.yml | 6 +++--- lolalhost.pem => localhost.pem | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename lolalhost.pem => localhost.pem (100%) diff --git a/config-example.toml b/config-example.toml index 9196822..34830cc 100644 --- a/config-example.toml +++ b/config-example.toml @@ -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. diff --git a/docker-compose.yml b/docker-compose.yml index 713af40..c7e0188 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 diff --git a/lolalhost.pem b/localhost.pem similarity index 100% rename from lolalhost.pem rename to localhost.pem