|
|
@ -1,4 +1,4 @@ |
|
|
|
upstream hot-line { |
|
|
|
upstream hunchentoot { |
|
|
|
server 127.0.0.1:3002; |
|
|
|
server 127.0.0.1:3002; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -24,7 +24,7 @@ server { |
|
|
|
# if the requested file does not exist then |
|
|
|
# if the requested file does not exist then |
|
|
|
# proxy to the hunchentoot server cluster |
|
|
|
# proxy to the hunchentoot server cluster |
|
|
|
if (!-f $request_filename) { |
|
|
|
if (!-f $request_filename) { |
|
|
|
proxy_pass http://hot-line; |
|
|
|
proxy_pass http://hunchentoot; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |