Update 'README.md'

This commit is contained in:
William Mantly 2018-02-14 22:11:03 +00:00
parent f3760e9ee7
commit e4b39d9ae4

View File

@ -1,7 +1,7 @@
# proxy # proxy
## API docs ## API docs
[API dpcs](api.md) [API docs](api.md)
## Server set up ## Server set up
@ -9,12 +9,13 @@ The server requires:
* NodeJS 8.x * NodeJS 8.x
* open ssh server(any modern version will do) * open ssh server(any modern version will do)
* inbound Internet access * inbound Internet access
* OpenResty
* redis * redis
* lua rocks * lua rocks
This has been tested on ubuntu 16.04, but should work on any modern Linux distro. It used the Linux users for its user management, so this will **ONLY** work on Linux, no macOS, BSD or Windows. This has been tested on ubuntu 16.04, but should work on any modern Linux distro. It used the Linux users for its user management, so this will **ONLY** work on Linux, no macOS, BSD or Windows.
The steps below are for a new ubuntu server, they should be mostly the same for other distros, but the paths and availability of packages may vary. The steps below are for a new ubuntu server, they should be mostly the same for other distros, but the paths and availability of packages may vary. A dedicated server is highly recommended (since it will make ever user a system user), a VPS like Digital Ocean will do just fine.
* Install other * Install other
These packages are needed for the PAM node package These packages are needed for the PAM node package
@ -42,6 +43,9 @@ apt install luarocks
sudo luarocks install lua-resty-auto-ssl sudo luarocks install lua-resty-auto-ssl
``` ```
* Configure sshd for tunneling
* openresty config * openresty config
Set up fail back SSL certs Set up fail back SSL certs