in nginx conf file,i use:
location ~ \.jsp {
proxy_pass http://127.0.0.1:86;
}
to parse my jsp file, now,i want excluded directory /upload/
this directory is user upload file directory ,don't need parse JSP file.(http://xxx.com/upload/
)
how to change my location ~ \.jsp {
?
i need parse JSP *.jsp
but excluded /upload/
and it's subdirectory.
thanks all :)