mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-07-25 19:54:06 +03:00
Fixes security issue & Adds support to sent configuration via email (#83)
This commit is contained in:
parent
7edcd1b80c
commit
1711530dda
13 changed files with 335 additions and 76 deletions
12
README.md
12
README.md
|
@ -21,6 +21,18 @@ You can take a look at this example of [docker-compose.yml](https://github.com/n
|
|||
```
|
||||
docker-compose up
|
||||
```
|
||||
### Environment Variables
|
||||
|
||||
|
||||
Set the `SESSION_SECRET` environment variable to a random value.
|
||||
|
||||
In order to sent the wireguard configuration to clients via email (using sendgrid api) set the following environment variables
|
||||
|
||||
```
|
||||
SENDGRID_API_KEY: Your sendgrid api key
|
||||
EMAIL_FROM: the email address you registered on sendgrid
|
||||
EMAIL_FROM_NAME: the sender's email address
|
||||
```
|
||||
|
||||
### Using binary file
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue