Skip to content

Commit

Permalink
修复通过apache反代挂载导致的webdav无法进行重命名/移动操作问题 (#407)
Browse files Browse the repository at this point in the history
* Update reverse-proxy.md

* Update reverse-proxy.md

* Update reverse-proxy.md
  • Loading branch information
ZSXB2468 authored Jan 29, 2025
1 parent 6edac7a commit ed46b34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/guide/install/reverse-proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ Add the anti-generation configuration item ProxyPass under the VirtualHost field
DocumentRoot /www/myapp/public

AllowEncodedSlashes NoDecode
ProxyPreserveHost On
ProxyPass "/" "http://127.0.0.1:5244/" nocanon
ProxyPassReverse "/" "http://127.0.0.1:5244/" nocanon
</VirtualHost>
```

Expand Down Expand Up @@ -99,4 +101,4 @@ Add the reverse_proxy configuration item reverse_proxy under the Caddyfile file,

![bt_reverse_proxy](/img/guide/reverse_proxy/bt_reverse_proxy.png)

> If you need to apply for an `SSL certificate`, you can first apply for the certificate in the `SSL` option, and then set up the reverse proxy. Alternatively, you can set up the reverse proxy first, disable the proxy function, apply for an `SSL` certificate, and then enable the proxy again.
> If you need to apply for an `SSL certificate`, you can first apply for the certificate in the `SSL` option, and then set up the reverse proxy. Alternatively, you can set up the reverse proxy first, disable the proxy function, apply for an `SSL` certificate, and then enable the proxy again.
2 changes: 2 additions & 0 deletions docs/zh/guide/install/reverse-proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ proxy_max_temp_file_size 0; #加上这一行
DocumentRoot /www/myapp/public

AllowEncodedSlashes NoDecode
ProxyPreserveHost On
ProxyPass "/" "http://127.0.0.1:5244/" nocanon
ProxyPassReverse "/" "http://127.0.0.1:5244/" nocanon
</VirtualHost>
```

Expand Down

0 comments on commit ed46b34

Please sign in to comment.