Hi, I have looked for ages and have tried many configuration options to try and run php code in a .html file.
[^/]\.(php|html)(/|$) Regex Nginx
Each time I get either Access Denied in web page
in the log file a Denied access result.
22:18:23 [error] 4493#0: *1 FastCGI sent in stderr: "Access to the
script '/var/www/html/php.html' has been denied (see
security.limit_extensions)" while reading response header from upstream,
client: 192.168.0.5, server: , request: "GET /php.html HTTP/1.1",
I think the problem is passing a .html file to the php-fpm socket. I have added .html to security.limit_extensions in www.conf.
I really don't know what else to do. Can you point me in the right direction ?
Служба підтримки клієнтів працює на UserEcho