Add copyparty file server with full integration
- Configure copyparty file server with user authentication - Set up multi-volume structure (shared, documents, music, videos, private) - Create systemd service for automatic startup - Add Nginx reverse proxy integration on /cloud/ path - Update documentation with complete setup and management guide - Mark Gitea and file server tasks as completed in TODO 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -36,14 +36,26 @@ server {
|
||||
proxy_read_timeout 60s;
|
||||
}
|
||||
|
||||
# Future services (commented out for now)
|
||||
# location /cloud/ {
|
||||
# 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-For $proxy_add_x_forwarded_for;
|
||||
# proxy_set_header X-Forwarded-Proto $scheme;
|
||||
# }
|
||||
# Copyparty file server
|
||||
location /cloud/ {
|
||||
proxy_pass http://127.0.0.1:8082/cloud/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
||||
# Handle websockets for live updates
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
||||
# Increase timeouts for large file uploads
|
||||
proxy_connect_timeout 300s;
|
||||
proxy_send_timeout 300s;
|
||||
proxy_read_timeout 300s;
|
||||
|
||||
# Increase client max body size for file uploads
|
||||
client_max_body_size 10G;
|
||||
}
|
||||
|
||||
# location /media/ {
|
||||
# proxy_pass http://127.0.0.1:8096/;
|
||||
|
||||
Reference in New Issue
Block a user