Search found 10 matches
- Tue Jul 09, 2019 6:57 pm
- Forum: Web Server
- Topic: can not start NodeJS applications with SLL
- Replies: 6
- Views: 7000
Re: can not start NodeJS applications with SLL
Documetation tells that I should remove try_files and set some headers... I also removed file types. Please, check If my nginx config is correct. I'm totally new to all that stuff. Server returns 500 in this way too -(... server { listen 10.223.41.249:443 ssl; server_name my.site www.my.site; # ssl ...
- Sun Jul 07, 2019 9:08 am
- Forum: Web Server
- Topic: can not start NodeJS applications with SLL
- Replies: 6
- Views: 7000
Re: can not start NodeJS applications with SLL
The app uses next.js framework. But I almost shure that it doesn't affect to nginx because it works as usual node.js application.
I just run express server from pm2 command running on 3000 port.
I just run express server from pm2 command running on 3000 port.
- Sun Jun 30, 2019 11:17 am
- Forum: Web Server
- Topic: can not start NodeJS applications with SLL
- Replies: 6
- Views: 7000
Re: can not start NodeJS applications with SLL
Thanks for reply.
The `complete script` - is it about the code of my app, or nginx config?
Nginx config I presented was just genegated from .tpl and .stpl files that are inside VestaCP bundle - i can not write it myself.
The `complete script` - is it about the code of my app, or nginx config?
Nginx config I presented was just genegated from .tpl and .stpl files that are inside VestaCP bundle - i can not write it myself.
- Sat Jun 29, 2019 9:12 am
- Forum: Web Server
- Topic: can not start NodeJS applications with SLL
- Replies: 6
- Views: 7000
can not start NodeJS applications with SLL
I can not run my application on Ubuntu VPS with VestaCP. I started with pm2 my application on the server on port 3000. Before that, I made some preparations: 1) Installed let's encrypt certificates 2) Applied force-https template so that ngnix redirects me from HTTP VestaCP generated 2 ngnix configs...
- Tue May 29, 2018 12:01 pm
- Forum: Общие вопросы
- Topic: создание сайтов без домена
- Replies: 7
- Views: 5476
Re: создание сайтов без домена
Спасибо за ответы. С нодой вроде бы как разобрался, работает. Вопрос скорей всего вот в чем был. Как мне создать в VestaCP сайт без указания домена. Если этот сайт будет работать на nodejs, то достаточно будет указать IP:port То есть я для нового сайта просто укажу новый порт. Но VestaCP создает тол...
- Sun May 27, 2018 9:40 pm
- Forum: Общие вопросы
- Topic: создание сайтов без домена
- Replies: 7
- Views: 5476
Re: создание сайтов без домена
На сколько я понял, vesta не может по умолчанию работать с nodejs. Прошу посоветовать - как проще настроить. Нашел в этом топике https://forum.vestacp.com/viewtopic.php?f=11&t=16833 есть решение, но что-то не срабатывает. В ответе от Thu May 24, 2018 12:55 pm там же, я написал действия что сделал, н...
- Thu May 24, 2018 12:55 pm
- Forum: Web Server
- Topic: [GUIDE]EASY use Nodejs on VESTAcp Ubuntu
- Replies: 10
- Views: 24866
Re: [GUIDE]EASY use Nodejs on VESTAcp Ubuntu
Can you check if I modified template without errors? cd /usr/local/vesta/data/templates/web/apache2# nano default.tpl http://joxi.ru/8Ana0YktqYY8j2 After editing this I typed for user in $(ls /usr/local/vesta/data/users/);do v-rebuild-user $user;done When I go to site - this configuration makes Serv...
- Thu May 24, 2018 9:02 am
- Forum: Web Server
- Topic: [GUIDE]EASY use Nodejs on VESTAcp Ubuntu
- Replies: 10
- Views: 24866
Re: [GUIDE]EASY use Nodejs on VESTAcp Ubuntu
Hello It is second day I'm trying to intall nodejs to my VestaCP accordingly to your instruction. I need help. In the begginning of tutorial you edit apache configuration in nano /home/[put user]/conf/web/[web to redirect nodejs ]apache2.httpd.conf Then it is advised to use templates, but the root g...
- Thu May 24, 2018 7:09 am
- Forum: Общие вопросы
- Topic: создание сайтов без домена
- Replies: 7
- Views: 5476
Re: создание сайтов без домена
В общем, пришел к тому, что необходимо подружить vesta с nodejs.
Попробовал сделать по этой инструкции - не заработало. viewtopic.php?f=11&t=16833
Интересно, у кого-то получилось по этой схеме?
Если не выйдет - снесу эту вестапанель к черту...
Попробовал сделать по этой инструкции - не заработало. viewtopic.php?f=11&t=16833
Интересно, у кого-то получилось по этой схеме?
Если не выйдет - снесу эту вестапанель к черту...
- Wed May 23, 2018 12:49 pm
- Forum: Общие вопросы
- Topic: создание сайтов без домена
- Replies: 7
- Views: 5476
создание сайтов без домена
Здравствуйте. Новичок в серверных делах спрашивает)) Хочу через Весту создать несколько сайтов для личного пользования без регистрации доменов. Знаю, что возможно так делать, если они на разных портах. Но в конфигах apache как-то не так, там вроде бы на всех 8080. Как мне в панели сделать сайты типа...