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:
91b9009
)
Don't redirect to ssl
author
Lorin Hochstein
<lhochstein@netflix.com>
Tue, 7 Feb 2017 06:26:57 +0000
(22:26 -0800)
committer
Lorin Hochstein
<lhochstein@netflix.com>
Tue, 7 Feb 2017 06:26:57 +0000
(22:26 -0800)
too much trouble there
ch13/nginx/ghost.conf
patch
|
blob
|
history
diff --git
a/ch13/nginx/ghost.conf
b/ch13/nginx/ghost.conf
index
8a98256
..
66527d9
100644
(file)
--- a/
ch13/nginx/ghost.conf
+++ b/
ch13/nginx/ghost.conf
@@
-3,14
+3,7
@@
upstream ghostapp {
}
server {
- listen 80 default_server;
- listen [::]:80 default_server;
- server_name _;
- return 301 https://$host$request_uri;
-}
-
-server {
-
+ listen 80;
listen 443 ssl;
client_max_body_size 10M;