Hello, I have bought a script which is mainly targeted for apache and needs some mods in order to work on nginx. The developer sent me instructions to make it work but I can not find the locations in Webinoly. Here are the instructions:
first in php-fpm (/etc/php-fpm.d/www.conf) change:
"security.limit_extensions"
to: "security.limit_extensions = .php .php3 .php4 .php5 .php7 .txt"
(this only needs to be done one time)
then when setting up a domain in /etc/nginx/nginx.conf, simply change:
location ~ \.php$ {
to:
location ~ \.(php|txt)$ {
Thank you very much !!!!