I have files that are served by the backend web app at |/xxx/File?file=yyy.png|. These files are stored at |/storage/files| on the server. So, I wrote a location block to serve these files from storage directly from the web server. Here is my first take: |location /xxx/File { if ($request_method = POST ) { proxy_pass http://backend; } alias /storage/files/; try_fby abhi@littlewiki.in - Nginx Mailing List - English