nginx-buildpack icon indicating copy to clipboard operation
nginx-buildpack copied to clipboard

Static files

Open wieringen opened this issue 10 years ago • 1 comments

I just have some static html files that i want to deploy with nginx. I dont understand how to startup nginx for this.

wieringen avatar Mar 23 '15 14:03 wieringen

This may be a good start for you. Within nginx.conf you can add under http.server new entries like these below.

location = /favicon.ico {
  rewrite (.*) https://newlocation.com/favicon.ico;
}

stevepeak avatar Mar 23 '15 23:03 stevepeak