Updated nginx.conf
authorLorin Hochstein <lhochstein@netflix.com>
Tue, 7 Feb 2017 06:12:02 +0000 (22:12 -0800)
committerLorin Hochstein <lhochstein@netflix.com>
Tue, 7 Feb 2017 06:12:02 +0000 (22:12 -0800)
ch13/nginx/ghost.conf

index 1dadc65..8a98256 100644 (file)
@@ -1,4 +1,4 @@
-upstream ghost {
+upstream ghostapp {
     server ghost:2368;
 }
 
@@ -29,7 +29,7 @@ server {
         proxy_set_header    X-Real-IP               $remote_addr;
         proxy_set_header    X-Forwarded-For         $proxy_add_x_forwarded_for;
         proxy_set_header    X-Forwarded-Protocol    $scheme;
-        proxy_pass          http://ghost;
+        proxy_pass          http://ghostapp;
     }
 }