Yansongsongsong commented on code in PR #2256:
URL:
https://github.com/apache/incubator-opendal/pull/2256#discussion_r1193288724
##########
core/src/services/webdav/fixtures/nginx.conf:
##########
@@ -8,6 +8,23 @@ events {
}
http {
+ # the following configuration is for redirect test
+ server {
+ listen 127.0.0.1:8081;
+ server_name localhost;
+ access_log /tmp/forward-access.log;
+ error_log /tmp/forward-error.log;
+
+ location / {
+ if ($request_method = GET) {
+ return 302 http://$server_name:8080$request_uri;
+ }
+ client_max_body_size 1024M;
+ # forward all other requests to port 8081
Review Comment:
```suggestion
# forward all other requests to port 8080
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]