Created
August 27, 2021 11:12
-
-
Save gvych/b68095231c1d360dd37525b381df3729 to your computer and use it in GitHub Desktop.
Nginx transparent proxy http->https for traffic snooping (for debugging)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 8080 default; | |
proxy_ssl_server_name on; | |
location / { | |
proxy_pass https://<external_host>; | |
proxy_set_header Accept-Encoding "disabled"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment