add rest_api example nginx config
This commit is contained in:
parent
ea34091a83
commit
a77422f6f6
1 changed files with 13 additions and 0 deletions
13
docs/rest_api/nginx
Normal file
13
docs/rest_api/nginx
Normal 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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in a new issue