mardi 3 février 2015

Returning static page by concrete path with Nginx

It is very easy, but I have not found a direct answer to this simple question


I have link like



mysite/api/location/login



and i need to return static page



login.html



which lies in directory



root /data/www/




location =/api/location/login {
root /data/www/;
how to return static page here?
}




Aucun commentaire:

Enregistrer un commentaire