diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2015-06-10 14:25:15 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-10 14:25:15 +0200 |
commit | 432596412ee60971fc3997fd1bfe64c5bccb389f (patch) | |
tree | bac082ef4c177630231956f72f5220ff52647e05 /roles/lists/files/etc/nginx/sites-available/sympa | |
parent | 9d401701cfc6c7250c2dd38d39c4dd661879a2a4 (diff) |
Prefer 302 over 301 redirections.
Diffstat (limited to 'roles/lists/files/etc/nginx/sites-available/sympa')
-rw-r--r-- | roles/lists/files/etc/nginx/sites-available/sympa | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/lists/files/etc/nginx/sites-available/sympa b/roles/lists/files/etc/nginx/sites-available/sympa index 3c96a37..fa3cad1 100644 --- a/roles/lists/files/etc/nginx/sites-available/sympa +++ b/roles/lists/files/etc/nginx/sites-available/sympa @@ -7,7 +7,7 @@ server { access_log /var/log/nginx/lists.access.log; error_log /var/log/nginx/lists.error.log info; - return 301 https://$host$request_uri; + return 302 https://$host$request_uri; } @@ -25,7 +25,7 @@ server { ssl_certificate_key /etc/nginx/ssl/lists.fripost.org.key; location = / { - return 301 /sympa$args; + return 302 /sympa$args; } location ^~ /static-sympa/ { @@ -41,7 +41,7 @@ server { } location ~* ^/([^/]+)/?$ { - return 301 /$1/sympa$args; + return 302 /$1/sympa$args; } location ~* ^/([^/]+)/sympa(/.*)?$ { set $vhost $1; |