You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want zip files from local path: /mnt/lelink/movies/temp/139392056522454729/139400226980221046;
nginx location config below:
location /v2/zip/download {
root /mnt/lelink/movies/temp/139392056522454729/139400226980221046;
proxy_pass http://api-server/v1/clip/zip/download;
}
upstream return content:
140279 /00001.mp4 00001.mp4
98657 /00002.mp4 00002.mp4
47956 /00003.mp4 00003.mp4
89650 /00004.mp4 00004.mp4
129491 /00005.mp4 00005.mp4
mod_zip donot read files from rootpath which I configed in my location , It read from the default root path "/opt/srv/nginx-1.4.5/html",
Is there a problem?
The text was updated successfully, but these errors were encountered:
This is your configuration problem. You top location (/) root defaults to nginx directory. Anyway ideally you should create internal location which is not accessible to public:
I want zip files from local path: /mnt/lelink/movies/temp/139392056522454729/139400226980221046;
nginx location config below:
location /v2/zip/download {
root /mnt/lelink/movies/temp/139392056522454729/139400226980221046;
proxy_pass http://api-server/v1/clip/zip/download;
}
upstream return content:
mod_zip donot read files from rootpath which I configed in my location , It read from the default root path "/opt/srv/nginx-1.4.5/html",
Is there a problem?
The text was updated successfully, but these errors were encountered: