From 0bca7c0e95c583d0d31b932669595d6dbec2fc3b Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Mon, 6 Feb 2017 22:26:57 -0800 Subject: [PATCH] Don't redirect to ssl too much trouble there --- ch13/nginx/ghost.conf | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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; -- 2.44.0