Hi,

I want a PHP file to have the extension of .xml but when i do the below when
accessing the php file via web browser i get a access denied.

location ~ ^(.+\.xml)(/.*)?$ {
                fastcgi_pass unix:/var/run/php5-fpm.sock;
        fastcgi_index index.php;
                include fastcgi.conf;
        }

do i need to add anything like allow or something to this block?

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,264704,264704#msg-264704

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to