Add how to deploy file
This commit is contained in:
parent
3955826456
commit
cf1eccc83e
23
RELEASE/Version1_2/How to deploy.txt
Normal file
23
RELEASE/Version1_2/How to deploy.txt
Normal file
@ -0,0 +1,23 @@
|
||||
- FTP fichiers vers rpi (home/Manager_app)
|
||||
- puis mv -v /home/ubuntu/Manager_app/* /var/www/html/manager/
|
||||
- Changer nginx : etc/nginx/sites-enabled
|
||||
- Changer le port du service vers le 5002
|
||||
- Ajouter ou décommenter (check addresse ip):
|
||||
|
||||
server {
|
||||
listen 8080;
|
||||
listen [::]:8080;
|
||||
|
||||
server_name 192.168.31.96;
|
||||
|
||||
root /var/www/html/manager;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
- Tester nginx : sudo nginx -t
|
||||
- Reload nginx : sudo systemctl reload nginx
|
||||
Loading…
x
Reference in New Issue
Block a user