alist/server
Andy Hsu 6c2f3486fc fix!: reverse proxy to sub-directory (#3483)
from this commit, if you want reverse proxy to sub-directory like `alist` with `nginx`, you need config:

```nginx
location /alist/ {
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header Host $http_host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header Range $http_range;
    proxy_set_header If-Range $http_if_range;
    proxy_redirect off;
    proxy_pass http://127.0.0.1:5244/alist/;
    # the max size of file to upload
    client_max_body_size 20000m;
}
```
2023-02-18 19:03:07 +08:00
..
common fix!: check https with `X-Forwarded-Proto` 2023-01-19 12:16:42 +08:00
handles chore: change qBittorrent setting [skip ci] 2023-02-15 16:51:29 +08:00
middlewares feat!: allow disable user (close #3241) 2023-02-04 11:44:17 +08:00
static fix!: reverse proxy to sub-directory (#3483) 2023-02-18 19:03:07 +08:00
webdav feat: optimize file operation interface (#2757) 2022-12-20 15:02:40 +08:00
dev.go feat: custom hide error message by regexp (close #1468) 2022-08-08 12:53:53 +08:00
router.go fix!: reverse proxy to sub-directory (#3483) 2023-02-18 19:03:07 +08:00
webdav.go fix!: reverse proxy to sub-directory (#3483) 2023-02-18 19:03:07 +08:00