git://git.halfball.org
/
ansiblebook.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb2c435
)
different redirect strategy
author
Lorin Hochstein
<lhochstein@netflix.com>
Tue, 7 Feb 2017 05:55:09 +0000
(21:55 -0800)
committer
Lorin Hochstein
<lhochstein@netflix.com>
Tue, 7 Feb 2017 05:55:09 +0000
(21:55 -0800)
ch13/nginx/ghost.conf
patch
|
blob
|
history
diff --git
a/ch13/nginx/ghost.conf
b/ch13/nginx/ghost.conf
index
25b200e
..
1dadc65
100644
(file)
--- a/
ch13/nginx/ghost.conf
+++ b/
ch13/nginx/ghost.conf
@@
-3,8
+3,10
@@
upstream ghost {
}
server {
- listen 80;
- return 301 https://$host$request_uri;
+ listen 80 default_server;
+ listen [::]:80 default_server;
+ server_name _;
+ return 301 https://$host$request_uri;
}
server {