Hello, i’ve installed nextcloud 14.0 on a frenas machine, using this script (GitHub - danb35/freenas-iocage-nextcloud: Script to create an iocage jail on FreeNAS for the latest Nextcloud 23 release, including Caddy, MariaDB or PostgreSQL, and Let's Encrypt) with no SSL, since it’s being handled by a nginx reverse proxy. I can connect to the server from windows without any issue and via iOS locally. If i use the domain i set up, i cannot connect with iOS (app, safari or firefox)
A few infos about what i’m using:
-Nextcloud 14.0.0 (running on Apache)
-FreeNas 11.1-u6
-Nginx as reverse proxy
Nginx:
server {
listen 80;
#listen [::]:80;
server_name nextcloud.mydomain.com;
return 301 https://nextcloud.mydomain.com$request_uri;
}
server {
listen 443 ssl;
ssl on;
server_name nextcloud.mydomain.com;
ssl_certificate /etc/letsencrypt/live/nextcloud.mydomain.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/nextcloud.mydomain.com/privkey.pem;
#include ssl_common.conf;
client_max_body_size 0;
ssl_session_cache shared:SSL:10m;
location / {
proxy_pass http://192.168.1.199;
Apache YOUR_FQDN.conf
<VirtualHost 192.168.1.199:80>
DocumentRoot “/usr/local/www/apache24/data/nextcloud”
ServerName nextcloud.mydomain.com
ServerAdmin admin@example.com
RewriteEngine On
RewriteCond %{HTTP:Authorization} ^(.)
RewriteRule . - [e=HTTP_AUTHORIZATION:%1]
<FilesMatch .php$>
SetHandler “proxy:fcgi://localhost:9000”
DirectoryIndex /index.php index.php
<Directory /usr/local/www/apache24/data/nextcloud>
AllowOverride all
Let me know if i can provide anything else to help troubleshoot this.
Thanks in advance for any help.