Add excerpt
This commit is contained in:
parent
3ad86df877
commit
3669d829a6
|
@ -3,6 +3,11 @@ title: Nginx Redirects With Query String Arguments
|
|||
tags: [nginx]
|
||||
use: [posts]
|
||||
---
|
||||
{% block excerpt %}
|
||||
This is an example of how my Nginx configuration looked to redirect from an old domain to a new one, and also to redirect from the root `example.com` domain to the canonical `www` subdomain.
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
This is an example of how my Nginx configuration looked to redirect from an old domain to a new one, and also to redirect from the root `example.com` domain to the canonical `www` subdomain.
|
||||
|
||||
```language-nginx
|
||||
|
@ -43,3 +48,4 @@ Here is an demo of it working on this website:
|
|||
|
||||
- [Query string](https://en.wikipedia.org/wiki/Query_string)
|
||||
- [Nginx ngx_http_core_module](http://nginx.org/en/docs/http/ngx_http_core_module.html)
|
||||
{% endblock %}
|
||||
|
|
Reference in a new issue