feat: integrate COS and unify user persistence
This commit is contained in:
1 parent
8a97a0b054
commit
ad5e305ad4
39 files changed
+1355
-269
No files matched your search
@@ -0,0 +1,11 @@
|
||||
# Include this location in the server block for 101.43.139.56.
|
||||
# Preserve /file/access and the token query when forwarding.
|
||||
location /file/ {
|
||||
proxy_pass http://127.0.0.1:8080;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
# File tokens are temporary credentials; omit query strings from access logs.
|
||||
access_log off;
|
||||
}
|
||||
Reference in new issue
Block a user