From 4e11f524584af3593f4805be94a4223e455826ef Mon Sep 17 00:00:00 2001 From: Luis Pablo Galeas Bardales Date: Fri, 29 Nov 2024 18:58:50 +0000 Subject: [PATCH] Remove unnecessary slashes from docker compose example in docs --- README.MD | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/README.MD b/README.MD index 77755af..56e1b59 100644 --- a/README.MD +++ b/README.MD @@ -35,12 +35,12 @@ services: - ./path/to/pgt_proxy/your_tls_private_key.pem:/etc/pgt_proxy/server_tls/key.pem - ./path/to/pgt_proxy/your_tls_certificate.pem:/etc/pgt_proxy/server_tls/certificate.pem command: [ - "--server-private-key-path", "/etc/pgt_proxy/server_tls/key.key", \ - "--server-certificate-path", "/etc/pgt_proxy/server_tls/certificate.pem", \ - "--server-port", "5432", \ - "--client-connection-host-or-ip", "destination.host.example.amazonaws.com", \ - "--client-connection-port", "5432", \ - "--client-tls-validation-host", "destination.host.example.amazonaws.com", \ + "--server-private-key-path", "/etc/pgt_proxy/server_tls/key.key", + "--server-certificate-path", "/etc/pgt_proxy/server_tls/certificate.pem" + "--server-port", "5432" + "--client-connection-host-or-ip", "destination.host.example.amazonaws.com" + "--client-connection-port", "5432" + "--client-tls-validation-host", "destination.host.example.amazonaws.com" "--client-ca-roots-path", "/etc/pgt_proxy/client_tls/aws_rds/" ] pgt-proxy-connecting-to-azure-digicert: @@ -51,12 +51,12 @@ services: - ./path/to/pgt_proxy/your_tls_private_key.pem:/etc/pgt_proxy/server_tls/key.pem - ./path/to/pgt_proxy/your_tls_certificate.pem:/etc/pgt_proxy/server_tls/certificate.pem command: [ - "--server-private-key-path", "/etc/pgt_proxy/server_tls/key.key", \ - "--server-certificate-path", "/etc/pgt_proxy/server_tls/certificate.pem", \ - "--server-port", "5432", \ - "--client-connection-host-or-ip", "destination.host.example.azure.com", \ - "--client-connection-port", "5432", \ - "--client-tls-validation-host", "destination.host.example.azure.com", \ + "--server-private-key-path", "/etc/pgt_proxy/server_tls/key.key" + "--server-certificate-path", "/etc/pgt_proxy/server_tls/certificate.pem" + "--server-port", "5432" + "--client-connection-host-or-ip", "destination.host.example.azure.com" + "--client-connection-port", "5432" + "--client-tls-validation-host", "destination.host.example.azure.com" "--client-ca-roots-path", "/etc/pgt_proxy/client_tls/azure_digicert/" ] pgt-proxy-connecting-to-database-with-certificate-authorities-trusted-by-firefox-web-browser: @@ -67,12 +67,12 @@ services: - ./path/to/pgt_proxy/your_tls_private_key.pem:/etc/pgt_proxy/server_tls/key.pem - ./path/to/pgt_proxy/your_tls_certificate.pem:/etc/pgt_proxy/server_tls/certificate.pem command: [ - "--server-private-key-path", "/etc/pgt_proxy/server_tls/key.key", \ - "--server-certificate-path", "/etc/pgt_proxy/server_tls/certificate.pem", \ - "--server-port", "5432", \ - "--client-connection-host-or-ip", "destination.host.example.com", \ - "--client-connection-port", "5432", \ - "--client-tls-validation-host", "destination.host.example.com", \ + "--server-private-key-path", "/etc/pgt_proxy/server_tls/key.key" + "--server-certificate-path", "/etc/pgt_proxy/server_tls/certificate.pem" + "--server-port", "5432" + "--client-connection-host-or-ip", "destination.host.example.com" + "--client-connection-port", "5432" + "--client-tls-validation-host", "destination.host.example.com" "--client-ca-roots-path", "/etc/pgt_proxy/client_tls/firefox/" ] pgt-proxy-connecting-to-database-with-custom-certificate-authorities: @@ -84,12 +84,12 @@ services: - ./path/to/pgt_proxy/your_tls_certificate.pem:/etc/pgt_proxy/server_tls/certificate.pem - ./path/to/postgres_destination_server/your_certificate_authority_certificates_in_pem_format/:/etc/pgt_proxy/client_tls/custom_cas/ command: [ - "--server-private-key-path", "/etc/pgt_proxy/server_tls/key.key", \ - "--server-certificate-path", "/etc/pgt_proxy/server_tls/certificate.pem", \ - "--server-port", "5432", \ - "--client-connection-host-or-ip", "destination.host.example.com", \ - "--client-connection-port", "5432", \ - "--client-tls-validation-host", "destination.host.example.com", \ + "--server-private-key-path", "/etc/pgt_proxy/server_tls/key.key" + "--server-certificate-path", "/etc/pgt_proxy/server_tls/certificate.pem" + "--server-port", "5432" + "--client-connection-host-or-ip", "destination.host.example.com" + "--client-connection-port", "5432" + "--client-tls-validation-host", "destination.host.example.com" "--client-ca-roots-path", "/etc/pgt_proxy/client_tls/custom_cas/" ] ```