How can I use a folder with IP ?????????

Varix nginx-forum at nginx.us
Wed Dec 2 13:19:08 MSK 2009


Hallo,

I want to use a folder like this

http://123.45.678.9/photos/blabla.jpg


I have a default vhost to catch all

server {
    listen       80 default;
    server_name  _;

    location / {
        root   html;
        index  index.html index.htm;
    }

    # redirect server error pages to the static page /50x.html
    #
    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   html;
    }
}

How can I make this to show the pictures in the browser? 

Varix

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





More information about the nginx mailing list