[GH-ISSUE #661] In a reverse proxy environment, creating a new folder will result in an error: "invalid". #402

Closed
opened 2026-04-08 16:52:37 +03:00 by zhus · 4 comments
Owner

Originally created by @cs0663c on GitHub (Jan 17, 2026).
Original GitHub issue: https://github.com/sigoden/dufs/issues/661

In a reverse proxy environment, creating a new folder will result in an error: "invalid".
or docker

Originally created by @cs0663c on GitHub (Jan 17, 2026). Original GitHub issue: https://github.com/sigoden/dufs/issues/661 In a reverse proxy environment, creating a new folder will result in an error: "invalid". or docker
zhus closed this issue 2026-04-08 16:52:37 +03:00
Author
Owner

@PolarBears commented on GitHub (Jan 18, 2026):

I am using Nginx for reverse proxy, and all functions are working normally, including WebDAV, with no errors found.
This is my Nginx configuration file:

server {
    listen 80;
    listen [::]:80;
    server_name dufs.example.cn;
    return 301 https://$host$request_uri;
}

server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;
    server_name dufs.example.cn;

    location / {
        proxy_set_header Host $host;
        proxy_pass http://127.0.0.1:5000;
    }
}
<!-- gh-comment-id:3764750313 --> @PolarBears commented on GitHub (Jan 18, 2026): I am using Nginx for reverse proxy, and all functions are working normally, including WebDAV, with no errors found. This is my Nginx configuration file: ``` server { listen 80; listen [::]:80; server_name dufs.example.cn; return 301 https://$host$request_uri; } server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name dufs.example.cn; location / { proxy_set_header Host $host; proxy_pass http://127.0.0.1:5000; } } ```
Author
Owner

@sigoden commented on GitHub (Jan 21, 2026):

Please describe in detail how to reproduce the issue you mentioned.

<!-- gh-comment-id:3775989217 --> @sigoden commented on GitHub (Jan 21, 2026): Please describe in detail how to reproduce the issue you mentioned.
Author
Owner

@cs0663c commented on GitHub (Jan 21, 2026):

Image"I'm not sure if this is an issue with the Edge browser, but I get this prompt when creating new files or folders. However, there's no problem when logging in via IP."

<!-- gh-comment-id:3776005281 --> @cs0663c commented on GitHub (Jan 21, 2026): <img width="1165" height="399" alt="Image" src="https://github.com/user-attachments/assets/084a3e3c-af28-4068-b145-97631295b4f0" />"I'm not sure if this is an issue with the Edge browser, but I get this prompt when creating new files or folders. However, there's no problem when logging in via IP."
Author
Owner

@sigoden commented on GitHub (Jan 21, 2026):

The issue is related to your reverse proxy configuration. I suspect that the request never reached dufs because your proxy service intercepted it beforehand.

<!-- gh-comment-id:3776012311 --> @sigoden commented on GitHub (Jan 21, 2026): The issue is related to your reverse proxy configuration. I suspect that the request never reached dufs because your proxy service intercepted it beforehand.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#402