olemal

Members
  • Posts

    3
  • Joined

  • Last visited

olemal's Achievements

Noob

Noob (1/14)

0

Reputation

  1. Got this to work with nginx from linuxserver server { listen 443 ssl; listen [::]:443 ssl; server_name mysub.*; include /config/nginx/ssl.conf; client_max_body_size 0; location / { resolver 127.0.0.11 valid=30s; set $upstream_app containerName; set $upstream_port 80; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_set_header Host $host; } }
  2. So am trying to get Nextcloud to work with Letsencrypt using Spaceinvaders guide. Note nextcloud works before configuring it to work with letsencrypt. When trying to connect to my sub domain its getting 502 Bad gateway. In the ngnix log: 2019/04/09 08:49:58 [error] 353#353: *162 connect() failed (111: Connection refused) while connecting to upstream, client: 10.0.0.1, server: cloud.*, request: "GET /apps/files/ HTTP/2.0", upstream: "https://172.18.0.4:444/apps/files/", host: "cloud.mydomain.com" Nextcloud docker: changed network to custom changed port to 444 NextCloud config.php 1 => 'cloud.mydomain.com', 'trusted_proxies' => ['letsencrypt'], ( tried with and without this line. ) 'overwrite.cli.url' => 'https://cloud.mydomain.com', 'overwritehost' => 'cloud.mydomain.com', 'overwriteprotocol' => 'https', nextcloud.subdomain.conf just changed nextcloud.* to cloud.* Any suggestions? I have it working with ombi just cant seem to figure it out with nextcloud.
  3. Good Morning. So am trying to get Nextcloud to work with Letsencrypt using Spaceinvaders guide. Note nextcloud works before configuring letsencrypt. When trying to connect to my sub domain its getting 502 Bad gateway. In the ngnix log: 2019/04/09 08:49:58 [error] 353#353: *162 connect() failed (111: Connection refused) while connecting to upstream, client: 10.0.0.1, server: cloud.*, request: "GET /apps/files/ HTTP/2.0", upstream: "https://172.18.0.4:444/apps/files/", host: "cloud.mydomain.com" Nextcloud docker: changed network to custom changed port to 444 NextCloud config.php 1 => 'cloud.mydomain.com', 'trusted_proxies' => ['letsencrypt'], ( tried with and without this line. ) 'overwrite.cli.url' => 'https://cloud.mydomain.com', 'overwritehost' => 'cloud.mydomain.com', 'overwriteprotocol' => 'https', nextcloud.subdomain.conf just changed nextcloud.* to cloud.* I have it working with ombi just cant seem to figure it out with nextcloud.