route_config:
virtual_hosts:
- name: http_in
domains: ["*"]
routes:
- { match: { prefix: "/" }, route: { cluster: amqp_out } }
- { match: { prefix: "" }, route: { cluster: amqp_out } }
- { match: { prefix: "http" }, route: { cluster: amqp_out } }
- { match: { prefix: "http://" }, route: { cluster: amqp_out } }
- { match: { regex: "" }, route: { cluster: amqp_out } }
- { match: { regex: ".*" }, route: { cluster: amqp_out } }
--
You received this message because you are subscribed to the Google Groups "envoy-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to envoy-dev+unsubscribe@googlegroups.com.
To post to this group, send email to envo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-dev/c1eceb73-49d5-4e08-bf06-062693dd91d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
prefix: "/" is correct -- something else must be wrong.Try running envoy with "-l debug". You should see the downstream client's request headers and the request sent to the upstream (cluster) host (or some indication of why that request is not being forwarded).
[2018-06-19 17:48:43.432][30403][debug][http] external/envoy/source/common/http/conn_manager_impl.cc:452] [C0][S12142072624741879978] request headers complete (end_stream=true):
':authority', 'google.com'
'user-agent', 'curl/7.59.0'
'accept', '*/*'
'proxy-connection', 'Keep-Alive'
':path', 'http://google.com/'
':method', 'GET'
[2018-06-19 17:48:43.432][30403][debug][http] external/envoy/source/common/http/conn_manager_impl.cc:972] [C0][S12142072624741879978] encoding headers via codec (end_stream=true):
':status', '404'
'date', 'Tue, 19 Jun 2018 21:48:43 GMT'
'server', 'envoy'
admin:
access_log_path: /tmp/env1_access.log
address:
socket_address: { address: 127.0.0.1, port_value: 9901 }
static_resources:
listeners:
- name: http_in
address:
socket_address: { address: 0.0.0.0, port_value: 8000 }
filter_chains:
filters:
- name: envoy.http_connection_manager
config:
stat_prefix: http_in
route_config:
virtual_hosts:
- name: http_in
domains: ["*"]
routes:
- match: { prefix: "/" }
route: { cluster: http_out }
http_filters:
- name: envoy.router
config: {}
clusters:
- name: http_out
connect_timeout: 0.25s
type: static
hosts: [{ socket_address: { address: 127.0.0.1, port_value: 3128 }}]
http_protocol_options:
allow_absolute_url: true
--
You received this message because you are subscribed to the Google Groups "envoy-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to envoy-dev+unsubscribe@googlegroups.com.
To post to this group, send email to envo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-dev/d22ec397-e143-4b42-bc8c-f91b943396b5%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to envoy-dev+...@googlegroups.com.
To post to this group, send email to envo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-dev/d22ec397-e143-4b42-bc8c-f91b943396b5%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "envoy-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to envoy-dev+...@googlegroups.com.
To post to this group, send email to envo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-dev/CAFcPDB9TTycMat%3DruezY-bVoq2P%3DqsOuLYsuEPvJa6%2BdU2B%2Bfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to envoy-dev+unsubscribe@googlegroups.com.
To post to this group, send email to envo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-dev/d22ec397-e143-4b42-bc8c-f91b943396b5%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "envoy-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to envoy-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-dev/CAFcPDB9TTycMat%3DruezY-bVoq2P%3DqsOuLYsuEPvJa6%2BdU2B%2Bfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to envoy-dev+...@googlegroups.com.
To post to this group, send email to envo...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-dev/d22ec397-e143-4b42-bc8c-f91b943396b5%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "envoy-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to envoy-dev+...@googlegroups.com.