-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
I'm use myvestacp.
-
Until I added execution rights to the .sh file it didn't work.
-
Also, in nginx logs you can see the warn.
2024/02/21 16:58:37 [warn] 613220#613220: protocol options redefined for 212.22.77.190:443 in /home/admin/conf/web/site.com.nginx.ssl.conf:8
2024/02/21 16:58:37 [warn] 613220#613220: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /home/admin/conf/web/site.com.nginx.ssl.conf:12
this is not error, but to fix this, change stpl file:
// before
listen %ip%:%proxy_ssl_port%;
// after
listen %ip%:%proxy_ssl_port% ssl http2;
// then, remove line:
ssl on;
- To restart node app without change template to default, run command:
/usr/local/vesta/data/templates/web/nginx/NodeJS.sh admin site.com 1 /home(change your user name and host)
parameters explain
user=$1
domain=$2
ip=$3 # not used
home=$4
you can see application launch logs.
- nvm is optional. if it not installed - its skipped.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels