From: Lorin Hochstein Date: Tue, 7 Feb 2017 06:26:57 +0000 (-0800) Subject: Don't redirect to ssl X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=0bca7c0e95c583d0d31b932669595d6dbec2fc3b;p=ansiblebook.git Don't redirect to ssl too much trouble there --- diff --git a/ch13/nginx/ghost.conf b/ch13/nginx/ghost.conf index 8a98256..66527d9 100644 --- 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;