Sha256: a750839497f2a62c268d1a704c832982dd2f76ed7454eda88be65d8a6bf661fe
Contents?: true
Size: 1001 Bytes
Versions: 3
Compression:
Stored size: 1001 Bytes
Contents
--- title: Redirection Support --- ## Application Load Balancers If you are using an Application Load Balancer you can configure redirection by editing the default actions of the regular listener that is set up by ufo. This assumes you have set up [SSL Support]({% link _docs/ssl-support.md %}). Here's an example that redirects http to https with a 302 http status code: ``` listener: port: 80 # ... default_actions: - type: redirect redirect_config: protocol: HTTPS status_code: HTTP_302 # HTTP_301 and HTTP_302 are valid port: 443 ``` ## Network Load Balancers Network Load Balancers work at layer 4, so they do not support redirection. Instead you need to handle redirection within your app. <a id="prev" class="btn btn-basic" href="{% link _docs/route53-support.md %}">Back</a> <a id="next" class="btn btn-primary" href="{% link _docs/faq.md %}">Next Step</a> <p class="keyboard-tip">Pro tip: Use the <- and -> arrow keys to move back and forward.</p>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ufo-4.3.1 | docs/_docs/redirection-support.md |
ufo-4.3.0 | docs/_docs/redirection-support.md |
ufo-4.2.0 | docs/_docs/redirection-support.md |