diff --git a/source/_posts/2017-01-31-nginx-redirects-with-query-string-arguments.md b/source/_posts/2017-01-31-nginx-redirects-with-query-string-arguments.md index 7e9c3c0f..f438378b 100644 --- a/source/_posts/2017-01-31-nginx-redirects-with-query-string-arguments.md +++ b/source/_posts/2017-01-31-nginx-redirects-with-query-string-arguments.md @@ -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 %}