You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ra...@apache.org on 2019/03/22 21:40:26 UTC
[incubator-openwhisk] branch master updated: request method
downgraded with 301 redirect, use 308 instead (#4385)
This is an automated email from the ASF dual-hosted git repository.
rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new b1a746e request method downgraded with 301 redirect, use 308 instead (#4385)
b1a746e is described below
commit b1a746eca0035c852554302b28f8cd4f62493028
Author: neerajmangal <ne...@users.noreply.github.com>
AuthorDate: Sat Mar 23 03:10:15 2019 +0530
request method downgraded with 301 redirect, use 308 instead (#4385)
---
ansible/roles/nginx/templates/nginx.conf.j2 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ansible/roles/nginx/templates/nginx.conf.j2 b/ansible/roles/nginx/templates/nginx.conf.j2
index 85194d4..c690d6d 100644
--- a/ansible/roles/nginx/templates/nginx.conf.j2
+++ b/ansible/roles/nginx/templates/nginx.conf.j2
@@ -93,7 +93,7 @@ http {
server {
listen 80 default_server;
server_name _;
- return 301 https://$host$request_uri;
+ return 308 https://$host$request_uri;
}
server {