The Basics
- Nextcloud Server version (e.g., 29.x.x):
- Nextcloud Hub 26 Winter (33.0.0)
- Operating system and version (e.g., Ubuntu 24.04):
- Debian 13 as LXC on proxmox
- Web server and version (e.g, Apache 2.4.25):
- Apache 2.4.66
- Reverse proxy and version _(e.g. nginx 1.27.2)
- Caddy 2.10.2 (own lxc)
- PHP version (e.g, 8.3):
- 8.4
- Is this the first time you’ve seen this error? (Yes / No):
- n/a
- When did this problem seem to first start?
- n/a
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
- Manual in lxc
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
- no
Summary of the issue you are facing:
I installed nc on a debian lxc manually. I’m using a seperate MariaDB LXC because I also have a WordPress installation in my homelab. The website is exposed through caddy which is also setup in a debain lxc. I have a dynamic ip and it only changes if I restart my opnsense. Therefore I use it without cloudflare etc. until now. I planned to set it up in the near future.
I want to register a new domain for my family and access nc also from the internet. Also if I want share files etc.
My questions are:
- How do I access nc in my local network? Through the public domain? I do not want to use the internet connection, if I’m in my local network.
- Should I use https/ssl in my local network. If yes, how?
- Can I use nc only locally now and expose it with the reverse proxy if my domain is registered?
- What security advices do you have?
Steps to replicate it (hint: details matter!):
n/a
Log entries
Nextcloud
n/a
Web Browser
n/a
Web server / Reverse Proxy
n/a
Configuration
Nextcloud
The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"nextcloud.home.local"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "33.0.0.16",
"overwrite.cli.url": "http:\/\/nextcloud.home.local",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"maintenance_window_start": 1,
"default_phone_region": "DE",
"server_id": 1,
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"maintenance": false
}
}
Apps
The output of occ app:list (if possible).
Enabled:
- activity: 6.0.0-dev.0
- app_api: 33.0.0
- bruteforcesettings: 6.0.0-dev.0
- calendar: 6.2.1
- circles: 33.0.0
- cloud_federation_api: 1.17.0
- comments: 1.23.0
- contacts: 8.4.1
- contactsinteraction: 1.14.1
- dashboard: 7.13.0
- dav: 1.36.0
- federatedfilesharing: 1.23.0
- federation: 1.23.0
- files: 2.5.0
- files_downloadlimit: 5.1.0-dev.0
- files_pdfviewer: 6.0.0-dev.0
- files_reminders: 1.6.0
- files_sharing: 1.25.2
- files_trashbin: 1.23.0
- files_versions: 1.26.0
- firstrunwizard: 6.0.0-dev.0
- logreader: 6.0.0
- lookup_server_connector: 1.21.0
- mail: 5.7.3
- nextcloud_announcements: 5.0.0
- notes: 4.13.0
- notifications: 6.0.0
- oauth2: 1.21.0
- password_policy: 5.0.0-dev.0
- photos: 6.0.0-dev.0
- privacy: 5.0.0-dev.0
- profile: 1.2.0
- provisioning_api: 1.23.0
- recommendations: 6.0.0-dev.0
- related_resources: 4.0.0-dev.0
- richdocuments: 10.1.0
- serverinfo: 5.0.0-dev.0
- settings: 1.16.0
- sharebymail: 1.23.0
- spreed: 23.0.1
- support: 5.0.0
- survey_client: 5.0.0-dev.0
- systemtags: 1.23.0
- text: 7.0.0-dev.3
- theming: 2.8.0
- twofactor_backupcodes: 1.22.0
- twofactor_totp: 15.0.0-dev.0
- updatenotification: 1.23.0
- user_status: 1.13.0
- viewer: 6.0.0-dev.0
- weather_status: 1.13.0
- webhook_listeners: 1.5.0
- workflowengine: 2.15.0
Disabled:
- admin_audit: 1.23.0
- encryption: 2.21.0
- files_external: 1.25.1
- suspicious_login: 11.0.0-dev.0
- twofactor_nextcloud_notification: 7.0.0
- user_ldap: 1.24.0