diff options
| author | 2019-09-13 15:50:14 +0100 | |
|---|---|---|
| committer | 2019-09-13 15:50:14 +0100 | |
| commit | a77422f6f69e78d2f0bc27dba8bf5be99e9ba543 (patch) | |
| tree | 2fe02b17a6e4f20b1b5441cbcf0b977fdb950130 | |
| parent | default REST API port to 5001, not 5000 (diff) | |
| signature | ||
add rest_api example nginx config
| -rw-r--r-- | docs/rest_api/nginx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/rest_api/nginx b/docs/rest_api/nginx new file mode 100644 index 00000000..035dce33 --- /dev/null +++ b/docs/rest_api/nginx @@ -0,0 +1,13 @@ +server { + server_name example.com; + listen 5000 ssl; + listen [::]:5000 ssl; + + ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem; + ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem; + + location / { + proxy_pass http://localhost:5001; + } +} + |
