pmm 大佬有个问题,OneDrive反代之后只有下载走反代,上传不走怎么办?
下面是我的反配置文件,问下怎么修改
#PROXY-START/
location ~ /
{
proxy_pass https://yueyu1-my.sharepoint.com;
proxy_set_header Host yueyu1-my.sharepoint.com;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header REMOTE-HOST $remote_addr;
proxy_buffering off;
proxy_cache off;
proxy_set_header X-Forwarded-Proto $scheme;
#Persistent connection related configuration
add_header X-Cache $upstream_cache_status;
#Set Nginx Cache
set $static_filevEJdyMW3 0;
if ( $uri ~* "\.(gif|png|jpg|css|js|woff|woff2)$" )
{
set $static_filevEJdyMW3 1;
expires 12h;
}
if ( $static_filevEJdyMW3 = 0 )
{
add_header Cache-Control no-cache;
}
}
#PROXY-END/