Permalink
Switch branches/tags
Nothing to show
Find file Copy path
d3cf6c8 Mar 18, 2017
1 contributor

Users who have contributed to this file

54 lines (37 sloc) 899 Bytes
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name localhost;
location / {
proxy_pass http://appcluster;
}
}
upstream appcluster {
server <HOSTIP>:<HOSTPORT>;
server <HOSTIP>:<HOSTPORT>;
server <HOSTIP>:<HOSTPORT>;
server <HOSTIP>:<HOSTPORT>;
server <HOSTIP>:<HOSTPORT>;
server <HOSTIP>:<HOSTPORT>;
}
server {
listen 8888;
server_name localhost;
location / {
root html;
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
}