forked from restspace/rs-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevnotes.txt
More file actions
38 lines (28 loc) · 712 Bytes
/
devnotes.txt
File metadata and controls
38 lines (28 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
For node reverse proxy:
<Directory />
Options -Indexes +FollowSymLinks
AllowOverride None
Require all granted
</Directory>
ProxyPreserveHost On
ProxyVia Full
<Proxy *>
Require all granted
</Proxy>
ProxyPass / http://127.0.0.1:3100/
ProxyPassReverse / http://127.0.0.1:3100/
Use pm2 for node process service management.
sudo pm2 restart server
sudo pm2 status
rs-engine on localhost:3200
use /var/www/rs-engine/ecosystem.config.js
pm2 start ecosystem.config.js
for apache changes
sudo systemctl restart apache2
sudo systemctl status apache2
cd /etc/apache2/sites-available
sudo nano mysite
sudo a2ensite mysite
sudo a2dissite 000-default.conf
sudo apache2ctl configtest
sudo systemctl restart apache2