π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Clarify IP address challenges with object storage in self-hosting docs
Manav Rathi8b2d2ef44d7d
diff --git a/docs/docs/self-hosting/installation/post-install/index.md b/docs/docs/self-hosting/installation/post-install/index.mdindex 0790e35421..30d1b4e1e5 100644--- a/docs/docs/self-hosting/installation/post-install/index.md+++ b/docs/docs/self-hosting/installation/post-install/index.md@@ -120,7 +120,29 @@ more information.If you do not wish to make it accessible via Internet, we recommend you to use[Tailscale](/self-hosting/guides/tailscale) for convenience. Alternately, youcan use your IP address for accessing the application in your local network,-though this poses challenges with respect to object storage.+though this poses [challenges with respect to object storage](#understanding-ip-address-challenges-with-object-storage).++### Understanding IP address challenges with object storage++When accessing Ente using an IP address instead of a domain name, you may encounter issues with file uploads and downloads due to **CORS (Cross-Origin Resource Sharing)** browser security policies.++**The issue:** Your browser treats requests between different ports on the same IP as cross-origin requests. For example:+- Ente web app runs on `http://192.168.1.100:3000`+- MinIO object storage runs on `http://192.168.1.100:3200`++The browser blocks these requests unless CORS is properly configured.++**Solutions:**++1. **Use a domain name** (recommended): Set up a reverse proxy with a domain or use Tailscale to avoid CORS issues entirely.++2. **Configure CORS for your IP**: Update the MinIO CORS configuration to include your IP address in `AllowedOrigins`. You'll need to update this if your IP changes.++3. **Use wildcard CORS** (less secure): Configure `AllowedOrigins` to `["*"]` in your object storage CORS settings.++Learn more about [configuring CORS for object storage](/self-hosting/administration/object-storage#cors-cross-origin-resource-sharing).++> **Note**: This challenge is unrelated to the local storage path configuration (MinIO volumes in compose.yaml). It's specifically about browser security when accessing object storage over the network.## Step 5: Download mobile and desktop app