Skip to content

Latest commit

 

History

History
87 lines (72 loc) · 2.07 KB

File metadata and controls

87 lines (72 loc) · 2.07 KB

NoInfoPath Reverse Proxy

Overview

The NoInfoPath Reverse Proxy is an implementation of RedBird. See RedBird Project README for configuration details.

NoInfoPath adds a simple configuration file to make setting up projects quick and easy.

Configuration

Development Computers

OSX and Linux Configuration

Windows

NOTE: For Windows you will need to either create entries for each host in your \windows\system32\drivers\etc\hosts file. Alternately you could try what is suggested in this Stack Overflow article. How to resolve all .dev domains to localhost on Windows

Create/Edit config.json for a project.

{
	"redbird": {
		"init": {
			"port": 8080,
			"ssl": {
				"port": 8443,
				"key": ".certs/hsl.test.key",
				"cert": ".certs/hsl.test.crt",
				"ca": ".certs/hsl.test.crt"
			}
		},
		"proxies": [{
				"source": "restapi.sop.hsl.test",
				"dest": "http://localhost:3002",
				"options": {
					"ssl": {
						"port": 8443,
						"key": ".certs/hsl.test.key",
						"cert": ".certs/hsl.test.crt",
						"ca": ".certs/hsl.test.crt"
					}
				}
			},
			{
				"source": "app.sop.hsl.test",
				"dest": "http://localhost:3001",
				"options": {
					"ssl": {
						"port": 8443,
						"key": ".certs/hsl.test.key",
						"cert": ".certs/hsl.test.crt"
					}
				}
			},
			{
				"source": "service.sop.hsl.test",
				"dest": "http://localhost:3000",
				"options": {
					"ssl": {
						"port": 8443,
						"key": ".certs/hsl.test.key",
						"cert": ".certs/hsl.test.crt"
					}
				}
			}
		]
	}
}

Product Servers

TODO: Write production configuration instructions.

Roadmap

  • Add full SSL support.
  • Better documentation.
  • NodeJitsu support.
  • Docker Image.