We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it by the end of 2024. Read more about it: https://vestacp.com/docs/vesta-2-development
Search found 60 matches
- Wed Aug 21, 2019 7:53 pm
- Forum: Веб сервер
- Topic: Не работает алиас папки nginx + php-fpm
- Replies: 10
- Views: 6811
Re: Не работает алиас папки nginx + php-fpm
Почему? location /pics/ { alias /home/admin/web/pics/; } Возможно, такое: https://toster.ru/answer?answer_id=259128#answers_list_answer Если у вас, например, location /img, то при root /var/www ссылка /img/1.jpg будет вести в файл /var/www/img/1.jpg а при alias /var/www та же ссылка будет вести в /...
- Wed Aug 21, 2019 7:51 pm
- Forum: Веб сервер
- Topic: Не работает алиас папки nginx + php-fpm
- Replies: 10
- Views: 6811
Re: Не работает алиас папки nginx + php-fpm
Почему? location /pics/ { alias /home/admin/web/pics/; } Возможно, такое: https://toster.ru/answer?answer_id=259128#answers_list_answer Если у вас, например, location /img, то при root /var/www ссылка /img/1.jpg будет вести в файл /var/www/img/1.jpg а при alias /var/www та же ссылка будет вести в /...
- Wed Aug 21, 2019 7:12 pm
- Forum: Веб сервер
- Topic: Не работает алиас папки nginx + php-fpm
- Replies: 10
- Views: 6811
Не работает алиас папки nginx + php-fpm
Почему?
Code: Select all
location /pics/ {
alias /home/admin/web/pics/;
}
- Wed Sep 26, 2018 6:39 pm
- Forum: Веб сервер
- Topic: Падает vestapanel каждую минуту. Сервер nginx+php-fpm
- Replies: 2
- Views: 2970
Падает vestapanel каждую минуту. Сервер nginx+php-fpm
Vesta падает каждую минуту, приходится вводить service vesta restart и она работает какое-то время, потом ошибка "502 Bad Gateway nginx" Сервер мощный, всех ресурсов хватает. Нагрузка нулевая. Подскажите что делать, всё перепробовал в логах вот что: PHP message: PHP Notice: Use of undefined constant...
- Sun Aug 05, 2018 7:11 pm
- Forum: Веб сервер
- Topic: https сертифйкат на несколько лет
- Replies: 0
- Views: 1204
https сертифйкат на несколько лет
Подскажите пожалуйста, как сделать сертификат на несколько лет через весту?
Делал только через cloudflare.
Стандартная генерация только на несколько месяцев, а потом заново нужно генерить ssl.
Делал только через cloudflare.
Стандартная генерация только на несколько месяцев, а потом заново нужно генерить ssl.
- Fri Mar 30, 2018 9:15 am
- Forum: Debian/Ubuntu
- Topic: Error: LetsEncrypt challenge request 429
- Replies: 12
- Views: 18544
Re: Error: LetsEncrypt challenge request 429
Крутой совет, сделал ещё хуже. Как откатиться обратно??exmr wrote: ↑Thu Sep 14, 2017 8:33 amМожет кому то поможет viewtopic.php?f=29&t=12317&p=62796#p62796
У самого всё заработало после этого? У меня даже теперь просто так не сгенирировать ssl.
- Fri Dec 08, 2017 5:12 pm
- Forum: Веб сервер
- Topic: alias папки, сервер php-fpm, php файлы скачиваются
- Replies: 1
- Views: 1640
Re: alias папки, сервер php-fpm, php файлы скачиваются
Вот решение:
location /content {
alias /home/admin/web/content;
location ~ ^/content/(.+\.php)$ {
fastcgi_pass 127.0.0.1:5000; - здесь указываете свой
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $request_filename;
include fastcgi_params;
}
}
location /content {
alias /home/admin/web/content;
location ~ ^/content/(.+\.php)$ {
fastcgi_pass 127.0.0.1:5000; - здесь указываете свой
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $request_filename;
include fastcgi_params;
}
}
- Fri Dec 08, 2017 4:14 pm
- Forum: Веб сервер
- Topic: alias папки, сервер php-fpm, php файлы скачиваются
- Replies: 1
- Views: 1640
alias папки, сервер php-fpm, php файлы скачиваются
Скажите пожалуйста, почему alias папки не отрабатывает php файлы, а скачивает их. Добавляю в конфиг: location /content { alias /home/admin/web/content; } графику грузит anydomain.com/content/picture.jpg, а вот php ниак. Скажите как правильно в конфиге прописать? Панель vesta. На центральном домене в...
- Mon Dec 04, 2017 12:41 pm
- Forum: RHEL/CentOS
- Topic: Запуск mysqlcheck каждый день.
- Replies: 1
- Views: 2609
Запуск mysqlcheck каждый день.
Хочу что бы к концу рабочего дня каждый день, оптимизировались базы, команда такая: mysqlcheck --optimize --auto-repair --all-databases
Но крон почему-то не отрабатывает. Как правильно написать команду? Может что-то добавить нужно? sudo
Но крон почему-то не отрабатывает. Как правильно написать команду? Может что-то добавить нужно? sudo
- Fri Nov 03, 2017 9:30 am
- Forum: Общие вопросы
- Topic: Сервер php-fpm, не работает php include http://
- Replies: 1
- Views: 1776
Re: Сервер php-fpm, не работает php include http://
Никто не знает решения проблемы?