From 1867d58338e5e4d1c3a6ae9801ebfbef49a848d8 Mon Sep 17 00:00:00 2001 From: Abhinav Singh Date: Sun, 12 Jul 2020 21:24:20 +0530 Subject: [PATCH] Add cross ref for how to generate SSL certs. (#401) --- examples/README.md | 2 +- proxy/plugin/__init__.py | 2 +- ...modify_chunk_response_plugin.py => modify_chunk_response.py} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename proxy/plugin/{modify_chunk_response_plugin.py => modify_chunk_response.py} (100%) diff --git a/examples/README.md b/examples/README.md index 5594a4f9..69e3084c 100644 --- a/examples/README.md +++ b/examples/README.md @@ -76,7 +76,7 @@ KeyboardInterrupt 1. Same as `tcp_echo_server.py`. 2. Internally uses `proxy.common.utils.wrap_socket` to enable SSL encryption. -3. Uses `https-key.pem` and `https-signed-cert.pem` for SSL encryption. +3. Uses `https-key.pem` and `https-signed-cert.pem` for SSL encryption. See [End-to-End Encryption](https://github.com/abhinavsingh/proxy.py#end-to-end-encryption) for instructions on how to generate SSL certificates. Start `ssl_echo_server.py` as: diff --git a/proxy/plugin/__init__.py b/proxy/plugin/__init__.py index 16954c2f..eca6f399 100644 --- a/proxy/plugin/__init__.py +++ b/proxy/plugin/__init__.py @@ -19,7 +19,7 @@ from .web_server_route import WebServerPlugin from .reverse_proxy import ReverseProxyPlugin from .proxy_pool import ProxyPoolPlugin from .filter_by_client_ip import FilterByClientIpPlugin -from .modify_chunk_response_plugin import ModifyChunkResponsePlugin +from .modify_chunk_response import ModifyChunkResponsePlugin __all__ = [ 'CacheResponsesPlugin', diff --git a/proxy/plugin/modify_chunk_response_plugin.py b/proxy/plugin/modify_chunk_response.py similarity index 100% rename from proxy/plugin/modify_chunk_response_plugin.py rename to proxy/plugin/modify_chunk_response.py