Hi I created a static html site using easy engine.
The site is opening fine but there is php code
<?php $includeFile = file_get_contents("http://www.domain.com/cms/hospital.html"); echo $includeFile; ?>
It is not showing the content. allow_url_include = On and allow_url_fopen = On
My domain.conf
server {server_name domain.com www.domain.com;
access_log /var/log/nginx/domain.com.access.log;
error_log /var/log/nginx/domain.com.error.log;
root /var/www/domain.com/htdocs;
index index.html index.htm;
location / {
try_files $uri $uri/ /index.html;
}
include common/locations.conf;}
Any ideas?