I have set up nextcloud with reverse proxy.
I can access it at the website address on all my devices (pc, ipad and android phone).
I can also access my nextcloud server with the application on iOS, but then I try to connect to the server with the android application, I can’t access the server. (the application does not find the server)
I am running nextcloud as a docker (from LSIO) on unRAID. Running nextcloud 10 stable
I am running Nginx-letsencrypt as a docker on unRAID as reverse proxy.
I have used this guide to set it up:
I can’t speak for your setup, but I have nc running through an Apache proxy to an LXD container with no issue. Do your nginx logs show anything?
This is the only thing it says in the access.log
192.168.1.1 - - [18/Sep/2016:17:06:20 +0200] “GET /nextcloud/status.php HTTP/1.1” 404 27 “-” "Mozilla/5.0 (Android) ownCloud-android/1.3.0"
192.168.1.1 - - [18/Sep/2016:17:06:20 +0200] “GET /nextcloud/status.php HTTP/1.1” 301 185 “-” "Mozilla/5.0 (Android) ownCloud-android/1.3.0"
192.168.1.1 - - [18/Sep/2016:17:06:20 +0200] “GET /nextcloud/status.php HTTP/1.1” 404 27 “-” “Mozilla/5.0 (Android) ownCloud-android/1.3.0”
In the error.log this is what is says:
2016/09/18 17:07:31 [error] 95#95: *530 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.1, server: mydomain.net, request: "GET /nextcloud/status.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "mydomain.net"
Another one with the same problem here.
@LukasReschke maybe you can help? I can’t nginx.
Did you ever find a solution to your problem?
I find myself with a similar setup on FreeNAS with
- a Nextcloud jail according to this how-to, just using Nextcloud instead of Owncloud and
- an nginx reverse-proxy jail (setup), redirecting remote users to Nextcloud