windows 版
使用docker 安装nginx 和nextcloud
使用nginx代理nextcloud时,要使用一个没有路径的location,不然nextcloud加载不出来
location / {
# root /usr/share/nginx/html;
# index start.html index.htm;
proxy_pass http://172.17.0.4:80/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}