commit e4b7fb5c0f1af893135295e7770f844b2a5983da
parent 370358f69b8b8aa6a98d1d60d63d9f0ba67cc3df
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date: Tue, 30 May 2017 16:45:43 +0200
typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/etc/nginx/sites-enabled/test.site b/etc/nginx/sites-enabled/test.site
@@ -11,7 +11,7 @@ server {
# using POST, as some user agents do the second request using
# GET. 307 is meant to tell the user agent to not change the
# method in the second request.
- if ($requests_method = POST) { return 307 https://$host$request_uri; }
+ if ($request_method = POST) { return 307 https://$host$request_uri; }
return 301 https://$host$request_uri;
}