add rest_api example nginx config

This commit is contained in:
jesopo 2019-09-13 15:50:14 +01:00
parent ea34091a83
commit a77422f6f6

13
docs/rest_api/nginx Normal file
View file

@ -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;
}
}