Hi
I am developing application server where my client application wanted to read content of an xml file. I am having problem either the following configuration at nginx.conf is right or not in order to publish xml content.
location /file/update.xml {
default_type "application/xml";
content_by_lua_file 'updates/truvoc/update.xml';
}
my file content is
<?xml version="1.0 encoding ="utf-8"?>
<app>
<version>1.8.3</version>
<url>http://www.xxx.com</url>
</app>
Plz help me