Last active
May 18, 2018 22:09
-
-
Save rsandor/2dce300e5bd8f23f1084faf27b43ca24 to your computer and use it in GitHub Desktop.
This file contains 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 8000; | |
location / { | |
proxy_set_header HOST api.example.com; | |
proxy_set_header "User-Agent" "my-varnish-backend-proxy"; | |
proxy_pass https://api.example.com; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment