Skip to content
This repository has been archived by the owner on Feb 18, 2020. It is now read-only.

Commit

Permalink
Update reverse proxy.
Browse files Browse the repository at this point in the history
  • Loading branch information
MyUserInGithub committed Mar 24, 2017
1 parent 1640da4 commit 788e1cd
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions setup/reverseProxy/production.redbirdConf.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// This file would be required in Redbird reverseProxy.
// USAGE:

export default function reverseProxy(proxy) {

let email = process.env.EMAIL
let domain = 'animalsounds.webapp.run'

proxy.register(domain, 'http://animalsoundswebapp_nodejs:80', {
ssl: {
letsencrypt: {
email: email, // Domain owner/admin email
production: true, // WARNING: Only use this flag when the proxy is verified to work correctly to avoid being banned!
}
}
});

}

0 comments on commit 788e1cd

Please sign in to comment.