mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Updated readme
This commit is contained in:
parent
e9cde843e1
commit
042f4f12fb
11
README.md
11
README.md
@ -36,16 +36,7 @@ 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.
|
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 /api/ requests to the API port. In nginx this would look as follows:
|
2) (Recommended) Put your server behind a reverse proxy for SSL encryption.
|
||||||
|
|
||||||
location / {
|
|
||||||
proxy_pass http://yoururl:42010;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /api {
|
|
||||||
rewrite ^/api(.*)$ $1 break;
|
|
||||||
proxy_pass http://yoururl:42011;
|
|
||||||
}
|
|
||||||
|
|
||||||
## How to use
|
## How to use
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user