Is there any way to create a second webroot in nginx?
I've got over 60 GB of pictures. I think store them in another folder and use a 开发者_开发知识库2nd-level domain like pic.domain.com will make managing them more convenient.
By the way, my sites is running on a windows server.Thanks!
Just use a separate
server {
server_name sub.domain.com;
root /your/image/root;
# other options
}
精彩评论