Skip to content

Commit

Permalink
add slackin proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlok committed Apr 7, 2016
1 parent 4b54cc7 commit 1b457f7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,14 @@ server {
root /opt/ctrlok.com/public;
index index.html;
}
}


env SLACKIN_PORT_3000_TCP_ADDR;
perl_set $slackin 'sub { return $ENV{"SLACKIN_PORT_3000_TCP_ADDR"}; }';

server {
listen 80;
server_name slack.ukrops.club;
proxy_pass http://$slackin:3000;
}

0 comments on commit 1b457f7

Please sign in to comment.