Expose Nextcloud

Access your Nextcloud instance from anywhere through SeaWise.

Prerequisites

Step 1: Find Nextcloud's Port

Common Nextcloud ports:

  • 443 (HTTPS) or 80 (HTTP) for native installs

  • 8080 or 8443 for Docker setups

Check your setup:

docker ps | grep nextcloud

Step 2: Add Nextcloud to SeaWise

In the client web UI at http://your-server-ip:8082:

  1. Click Add Service

  2. Name: Nextcloud

  3. Host: localhost

  4. Port: your Nextcloud port (e.g., 8080)

  5. Click Add

Step 3: Configure Nextcloud

Add Trusted Domain

Nextcloud only responds to requests from configured trusted domains. Add your SeaWise subdomain:

Edit config/config.php:

Or via Docker environment variable:

Set Overwrite URL

Tell Nextcloud its public URL:

Trusted Proxies

Add the SeaWise client as a trusted proxy:

Restart Nextcloud after making changes.

Step 4: Access Nextcloud

Visit:

Tips

  • Desktop and mobile sync: The Nextcloud desktop and mobile clients work with SeaWise — enter your SeaWise URL as the server address

  • Large file uploads: Upload speed depends on your home internet's upload bandwidth

  • Collabora/OnlyOffice: Document editing through Nextcloud works, but may be slow on low-bandwidth connections

Troubleshooting

"Access through untrusted domain"

Add your SeaWise subdomain to the trusted_domains array in config.php. See Step 3 above.

File sync not working

Make sure the overwrite.cli.url is set correctly and overwriteprotocol is set to https.

Last updated