nginx浏览pdf

location ~/M00{
                # root  /fdfs/storage/data;
                #
                 if ($request_filename ~* ^.*?\.(pdf)$){
                        add_header Content-Type 'application/pdf;';
                }

root /opt/fastdfs_storage_data/data;
                 ngx_fastdfs_module;
        }

上一篇:常见的Java Script内存泄露原因及解决方案


下一篇:Git图形化界面客户端大汇总