Difference between revisions of "Return (nginx.conf)"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | * http://nginx.org/en/docs/http/ngx_http_rewrite_module.html | ||
+ | |||
<pre> | <pre> | ||
server { | server { | ||
Line 12: | Line 14: | ||
* [[Configure HTTP to HTTPs redirection with Nginx]] | * [[Configure HTTP to HTTPs redirection with Nginx]] | ||
* [[AWS ALB]]: [[Redirect (AWS::ElasticLoadBalancingV2::Listener)]] | * [[AWS ALB]]: [[Redirect (AWS::ElasticLoadBalancingV2::Listener)]] | ||
+ | * <code>[[rewrite]]</code> | ||
== See also == | == See also == |
Revision as of 16:26, 26 August 2021
server { listen 80 default_server; server_name _; return 301 https://$host$request_uri; }
Related terms
- Configure HTTP to HTTPs redirection with Nginx
- AWS ALB: Redirect (AWS::ElasticLoadBalancingV2::Listener)
rewrite
See also
Advertising: