Mobile app version of vmapp.org
Login or Join
Welton855

: Hello Caio Tarifa, The following solutions works on my nginx dev server on Windows. In nginx.conf, add the following to your main server instance. location ~ .jpg$ { root html;

@Welton855

Hello Caio Tarifa,

The following solutions works on my nginx dev server on Windows.

In nginx.conf, add the following to your main server instance.

location ~ .jpg$ {
root html; // edit if you use a different path to your server root.
index index.html index.htm; // edit if you use other file types
}


If this solution doesn’t work for your configuration, take a look at the following sites:

NginX Http Rewrite Module

NginX.Conf - Full Example.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Welton855

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme