Created
April 1, 2020 17:06
-
-
Save Shine-neko/7079f6ebb87d6d77087546f488dab9d1 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
# sozu proxy test config file | |
command_socket = "/var/run/sozu/socket" | |
saved_state = "/tmp/sozu-state.json" | |
log_level = "debug" | |
log_target = "stdout" | |
command_buffer_size = 16384 | |
[[listeners]] | |
protocol = "http" | |
# listening address | |
address = "0.0.0.0:80" | |
[applications] | |
[applications.NameOfYourApp] | |
# possible values are http or tcp | |
# https proxies will use http here | |
protocol = "http" | |
frontends = [ | |
{ address = "172.17.0.3:80", hostname = "test.localhost" }, | |
] | |
# additional options for frontends: sticky_session (boolean) and https_redirect (boolean) | |
backends = [ | |
{ address = "172.17.0.3:80" } | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment