1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rocketchat_ynh.git synced 2024-09-03 20:16:25 +02:00
This commit is contained in:
realitygaps 2016-04-29 21:02:49 +02:00
commit bc9f0bdf96
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ ExecStart=/usr/local/bin/node main.js
Restart=always
SyslogIdentifier=Rocket.Chat
Environment="BIND_IP=127.0.0.1"
Environment="ROOT_URL=CHANGEMETOROOTURL"
Environment="ROOT_URL=https://CHANGEMETOROOTURL"
Environment="PORT=3000"
Environment="MONGO_URL=mongodb://localhost:27017/rocketchat"

View file

@ -1,4 +1,4 @@
location PATHTOCHANGE/ {
location /PATHTOCHANGE {
rewrite ^PATHTOCHANGE$ PATHTOCHANGE/ permanent;
proxy_pass http://localhost:3000/;
proxy_set_header Host $host;