1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Changed API url

This commit is contained in:
Krateng
2019-05-12 10:20:47 +02:00
parent 0bf1790a7c
commit 3fce682c00
6 changed files with 9 additions and 9 deletions

View File

@@ -36,14 +36,14 @@ Also neat: You can use your **custom artist or track images**.
If you're missing packages, the console output will tell you so. Install them.
2) (Recommended) Put your server behind a reverse proxy for SSL encryption. Configure that proxy to rewrite /db/ requests to the database port. In nginx this would look as follows:
2) (Recommended) Put your server behind a reverse proxy for SSL encryption. Configure that proxy to rewrite /api/ requests to the API port. In nginx this would look as follows:
location / {
proxy_pass http://yoururl:42010;
}
location /db {
rewrite ^/db(.*)$ $1 break;
location /api {
rewrite ^/api(.*)$ $1 break;
proxy_pass http://yoururl:42011;
}