This file contains some settings for the server. Any changes need RPGM Server to be restarted.
|port||The HTTP port of the server. 80 is the default HTTP port.|
|root||The root URL of your server.|
|httpsPort||HTTPS port of the server. 443 is the default HTTPS port.|
|httpsKey||Path to the key file of the HTTPS certificate.|
|httpsCert||Path to the certificate for HTTPS.|
|pgmPort||Starting port used by PGM apps.|
|rPath||The path to the R folder. For linux it should be |
|rVersion||The version of R to use. 32 or 64.|
Please note that each launched instance uses 3 ports (for the instance, for R and for the R help). If you aim to have 100 concurrent instances, RPGM Server will actually need 300 ports.
- If the port is different than 80, append the port to the url separated with a
:. For example: http://example.com:8080.
- Finally, if you have enabled HTTPS, don't forget to put
See our guide on how to enable HTTPS.
How to Edit config.yml
The easiest way is to use the
# nano /opt/rpgmserver/config.yml
$ sudo nano /opt/rpgmserver/config.yml
Go to the RPGM Server folder and right click on config.yml and choose Open or Open with....
If the file does not open in notepad or another text editing software, choose Open with.... Select Notepad:
When the file is open, change the settings according to the above sections.