diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-02 17:24:58 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-02 17:24:58 +0200 |
| commit | b6094034267792995884dc24f19c6d6ab15e91a4 (patch) | |
| tree | 046387e59f9a5ee265ef779a7125fd1f315aa851 /README.md | |
| parent | f3ee156c6fdfad883ac0a3849f82ff2252becebb (diff) | |
trying to make proxy saner...
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -47,15 +47,11 @@ pm2 --name lens start npm -- run server ### Local proxy -Add the following to your `.env` to proxy to an intermediary server, which will then act as the database. +To run the proxy with all debug and cache options on: ``` -RELAY_REMOTE=http://spawn.asdf.us/client -PROXY_REMOTE=spawn.asdf.us -EXPRESS_CONNECTS_TO_RELAY=true -CACHE_SYSCALLS=true -PROXY_CACHE=true -DEBUG_PROXY=true +npm run proxy +PROXY_REMOTE=example.asdf.us npm run proxy ``` Then run the server as usual: |
