update readme
This commit is contained in:
parent
57e853d16a
commit
17421f9fe2
1 changed files with 3 additions and 3 deletions
|
@ -10,12 +10,12 @@
|
|||
* Install pm2: `npm install pm2 -g`
|
||||
* Install nginx: `sudo apt-get install nginx`
|
||||
* Remove default virtual host: `sudo unlink /etc/nginx/sites-enabled/default`
|
||||
* move conf: `sudo mv reverse-proxy.conf /etc/nginx/sites-available/`
|
||||
* Enable site: `sudo ln -s /etc/nginx/sites-available/reverse-proxy.conf /etc/nginx/sites-enabled/reverse-proxy.conf`
|
||||
* restart nginx: `systemctl restart nginx`
|
||||
|
||||
2. Installation:
|
||||
|
||||
* Clone this repo
|
||||
* Install dependencies: `npm i`
|
||||
* move conf: `sudo mv reverse-proxy.conf /etc/nginx/sites-available/`
|
||||
* Enable site: `sudo ln -s /etc/nginx/sites-available/reverse-proxy.conf /etc/nginx/sites-enabled/reverse-proxy.conf`
|
||||
* restart nginx: `systemctl restart nginx`
|
||||
* Run the server: `sudo pm2 start index.js --name bde-liste -i max`
|
||||
|
|
Loading…
Reference in a new issue