Skip to content

Commit

Permalink
Changed location of config file to allow for proper handling of docer…
Browse files Browse the repository at this point in the history
…ized apps
  • Loading branch information
AuspeXeu committed May 5, 2019
1 parent 5d9dcc8 commit 5b65ba4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ sudo npm install pm2 -g

### 3. Configuration

The configuration is handled in the ``cfg.json`` file.
The configuration is located at ``conf/cfg.json``.

| Option | Default | Description |
| -------- |:-------------:| ------------ |
Expand Down Expand Up @@ -74,7 +74,7 @@ Example:
Add the following line to your configuration file, e.g., `server.conf`. This will start the management console on port `7656` and make it accessible on `127.0.0.1`, i.e. this machine.

```
management 127.0.0.1 7656 //As specified in cfg.json for this server
management 127.0.0.1 7656 // As specified in cfg.json for this server
```

Restart your OpenVPN server.
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const conf = require('nconf')
const os = require('os')
const path = require('path')

conf.file({file: 'cfg.json'})
conf.file({file: './conf/cfg.json'})
conf.defaults({
port: 3013,
bind: '127.0.0.1',
Expand Down

0 comments on commit 5b65ba4

Please sign in to comment.