Rinat Khalekov
Rinat Khalekov
[BUG] Any random hestiacp user (admin or not) can make nginx crash just by adding a wrong new domain
Another one option to break HestiaCP is use [IDN](https://ru.wikipedia.org/wiki/IDN) in domain alias field. I kill fresh install HestiaCP 1.6.0 :)
> ### Describe the bug > Another one option to break HestiaCP is use [IDN](https://ru.wikipedia.org/wiki/IDN) in domain alias field. I kill fresh install HestiaCP 1.6.0 :) > > ### Tell...
I use web interface, primary domain is domain.ru, in alias field 2 values: www.domain.ru and домен.рф
Where i should look log from HestiaCP? In /var/log/nginx/error.log ?
```bash nginx -t nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful ``` Also i check /var/log/nginx/error.log it is empty Clarification: IDN domain alias...
After click save in domain editing: http://joxi.ru/v29Oe8ZT4lMv7r Content of /usr/local/hestia/data/users/ristudio.ru/web.conf ``` DOMAIN='ristudio.ru' IP='188.120.242.79' IP6='' FASTCGI_DURATION='0s' FASTCGI_CACHE='no' CUSTOM_PHPROOT='' CUSTOM_DOCROOT='' ALIAS='www.ristudio.ru,ристудия.рф' TPL='default' SSL='no' SSL_FORCE='no' SSL_HOME='same' LETSENCRYPT='no' FTP_USER='' FTP_PATH='' FTP_MD5='' BACKEND='default' PROXY='default' PROXY_EXT='jpeg,jpg,png,gif,bmp,ico,svg,tif,tiff,css,js,htm,html,ttf,otf,webp,woff,txt,csv,rtf,doc,docx,xls,xlsx,ppt,pptx,odf,odp,ods,odt,pdf,psd,ai,eot,eps,ps,zip,tar,tgz,gz,rar,bz2,7z,aac,m4a,mp3,mp4,ogg,wav,wma,3gp,avi,flv,m4v,mkv,mov,mpeg,mpg,wmv,exe,iso,dmg,swf'...
``` /usr/local/hestia/bin/v-list-web-domains ristudio.ru json { "ristudio.ru": { "IP": "188.120.242.79", "IP6": "", "DOCUMENT_ROOT": "/home/ristudio.ru/web/ristudio.ru/public_html/", "U_DISK": "1", "U_BANDWIDTH": "0", "TPL": "default", "ALIAS": "www.ristudio.ru,ристудия.рф", "STATS": "", "STATS_USER": "", "SSL": "no", "SSL_HOME": "same", "LETSENCRYPT":...
Проблема 100% в Kint! Простое отключение хелперов не помогает Удалось решить таким кодом в php_interface/init.php ```php Kint::$enabled_mode = env('ENV', 'prod') !== 'prod'; ```
Подтверждаю есть проблема с очисткой кеша. Все таски до этой отработали как надо, а на этой краш http://joxi.ru/nAyY3gVIYeNWeA При ручном запуске этой команды в консоли все работает без ошибок При...