Skip to main content
added 28 characters in body
Source Link

I solved my problem by side-stepping the issue. This involved configuring a third Raspberry Pi as a dedicated proxy server running nginx proxy manager( https://nginxproxymanager.com/). I used the settings described here: https://www.gitmemory.com/issue/MichaIng/DietPi/4417/847424141.

Essentially the steps I followed were:

  1. set up a new Raspberry Pi running Dietpi
  2. Install docker and docker compose from the Dietpi software menu
  3. Create a Nginx directory
  4. Create a docker-compose.yml folder in this directory with this content:
version: "3"
services:
  app:
    image: 'jc21/nginx-proxy-manager:2'
    restart: always
    ports:
      # Public HTTP Port:
      - '80:80'
      # Public HTTPS Port:
      - '443:443'
      # Admin Web Port:
      - '81:81'
      # Add any other Stream port you want to expose
      # - '21:21' # FTP
    environment:
      # If you would rather use Sqlite uncomment this
      # and remove all DB_MYSQL_* lines above
      DB_SQLITE_FILE: "/data/database.sqlite"
      # Uncomment this if IPv6 is not enabled on your host
      # DISABLE_IPV6: 'true'
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt
  1. Create a sqlite database:
touch ./data/database.sqlite.
  1. Set up nginx proxy manager using this command:
docker-compose up -d
  1. Reboot the Raspberry Pi and viola - it works out of the box!

  2. I then logged into the admin interface http://proxyserver_ip:81. This is a neat/modern interface. I then added port forwards to my two servers running nextcloud and weewx. The nginx proxy manager gets SSL certificates via Letsencrypt. There is no need to get these installed on each server. The proxy forwards use port 80 but under the SSL tab of the admin interface, one can force https.

  3. I ran into a small issue with the nextcloud server once I enabled https (502 Bad Gateway). I needed to add the following line to the nextcloud config.php file:

'overwriteprotocol' => 'https',
  1. All working sweetly as ever!

I solved my problem by side-stepping the issue. This involved configuring a third Raspberry Pi as a dedicated proxy server running nginx proxy manager( https://nginxproxymanager.com/). I used the settings described here: https://www.gitmemory.com/issue/MichaIng/DietPi/4417/847424141.

Essentially the steps I followed were:

  1. set up a new Raspberry Pi running Dietpi
  2. Install docker and docker compose from the Dietpi software menu
  3. Create a Nginx directory
  4. Create a docker-compose.yml folder in this directory with this content:
version: "3"
services:
  app:
    image: 'jc21/nginx-proxy-manager:2'
    restart: always
    ports:
      # Public HTTP Port:
      - '80:80'
      # Public HTTPS Port:
      - '443:443'
      # Admin Web Port:
      - '81:81'
      # Add any other Stream port you want to expose
      # - '21:21' # FTP
    environment:
      # If you would rather use Sqlite uncomment this
      # and remove all DB_MYSQL_* lines above
      DB_SQLITE_FILE: "/data/database.sqlite"
      # Uncomment this if IPv6 is not enabled on your host
      # DISABLE_IPV6: 'true'
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt
  1. Create a sqlite database:
touch ./data/database.sqlite.
  1. Set up nginx proxy manager using this command:
docker-compose up -d
  1. Reboot the Raspberry Pi and viola - it works out of the box!

  2. I then logged into the admin interface http://proxyserver_ip:81. This is a neat/modern interface. I then added port forwards to my two servers running nextcloud and weewx. The nginx proxy manager gets SSL certificates via Letsencrypt. There is no need to get these installed on each server. The proxy forwards use port 80 but under the SSL tab of the admin interface, one can force https.

  3. I ran into a small issue with the nextcloud server once I enabled https. I needed to add the following line to the config.php file:

'overwriteprotocol' => 'https',
  1. All working sweetly as ever!

I solved my problem by side-stepping the issue. This involved configuring a third Raspberry Pi as a dedicated proxy server running nginx proxy manager( https://nginxproxymanager.com/). I used the settings described here: https://www.gitmemory.com/issue/MichaIng/DietPi/4417/847424141.

Essentially the steps I followed were:

  1. set up a new Raspberry Pi running Dietpi
  2. Install docker and docker compose from the Dietpi software menu
  3. Create a Nginx directory
  4. Create a docker-compose.yml folder in this directory with this content:
version: "3"
services:
  app:
    image: 'jc21/nginx-proxy-manager:2'
    restart: always
    ports:
      # Public HTTP Port:
      - '80:80'
      # Public HTTPS Port:
      - '443:443'
      # Admin Web Port:
      - '81:81'
      # Add any other Stream port you want to expose
      # - '21:21' # FTP
    environment:
      # If you would rather use Sqlite uncomment this
      # and remove all DB_MYSQL_* lines above
      DB_SQLITE_FILE: "/data/database.sqlite"
      # Uncomment this if IPv6 is not enabled on your host
      # DISABLE_IPV6: 'true'
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt
  1. Create a sqlite database:
touch ./data/database.sqlite.
  1. Set up nginx proxy manager using this command:
docker-compose up -d
  1. Reboot the Raspberry Pi and viola - it works out of the box!

  2. I then logged into the admin interface http://proxyserver_ip:81. This is a neat/modern interface. I then added port forwards to my two servers running nextcloud and weewx. The nginx proxy manager gets SSL certificates via Letsencrypt. There is no need to get these installed on each server. The proxy forwards use port 80 but under the SSL tab of the admin interface, one can force https.

  3. I ran into a small issue with the nextcloud server once I enabled https (502 Bad Gateway). I needed to add the following line to the nextcloud config.php file:

'overwriteprotocol' => 'https',
  1. All working sweetly as ever!
added 29 characters in body
Source Link

I solved my problem by side-stepping the issue. This involved configuring a third Raspberry Pi as a dedicated proxy server running nginx proxy manager( https://nginxproxymanager.com/). I used the settings described here: https://www.gitmemory.com/issue/MichaIng/DietPi/4417/847424141.

Essentially the steps I followed were:

  1. set up a new Raspberry Pi running Dietpi
  2. Install docker and docker compose from the Dietpi software menu
  3. Create a Nginx directory
  4. Create a docker-compose.yml folder in this directory with this content:
version: "3"
services:
  app:
    image: 'jc21/nginx-proxy-manager:2'
    restart: always
    ports:
      # Public HTTP Port:
      - '80:80'
      # Public HTTPS Port:
      - '443:443'
      # Admin Web Port:
      - '81:81'
      # Add any other Stream port you want to expose
      # - '21:21' # FTP
    environment:
      # If you would rather use Sqlite uncomment this
      # and remove all DB_MYSQL_* lines above
      DB_SQLITE_FILE: "/data/database.sqlite"
      # Uncomment this if IPv6 is not enabled on your host
      # DISABLE_IPV6: 'true'
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt
  1. Create a sqlite database:
touch ./data/database.sqlite.
  1. Set up nginx proxy manager using this command:
docker-compose up -d
  1. Viola! ItReboot the Raspberry Pi and viola - it works out of the box!

  2. I then logged into the admin interface http://proxyserver_ip:81. This is a neat/modern interface. I then added port forwards to my two servers running nextcloud and weewx. The nginx proxy manager gets SSL certificates via Letsencrypt. There is no need to get these installed on each server. The proxy forwards use port 80 but under the SSL tab of the admin interface, one can force https.

  3. I ran into a small issue with the nextcloud server once I enabled https. I needed to add the following line to the config.php file:

'overwriteprotocol' => 'https',
  1. All working sweetly as ever!

I solved my problem by side-stepping the issue. This involved configuring a third Raspberry Pi as a dedicated proxy server running nginx proxy manager( https://nginxproxymanager.com/). I used the settings described here: https://www.gitmemory.com/issue/MichaIng/DietPi/4417/847424141.

Essentially the steps I followed were:

  1. set up a new Raspberry Pi running Dietpi
  2. Install docker and docker compose from the Dietpi software menu
  3. Create a Nginx directory
  4. Create a docker-compose.yml folder in this directory with this content:
version: "3"
services:
  app:
    image: 'jc21/nginx-proxy-manager:2'
    restart: always
    ports:
      # Public HTTP Port:
      - '80:80'
      # Public HTTPS Port:
      - '443:443'
      # Admin Web Port:
      - '81:81'
      # Add any other Stream port you want to expose
      # - '21:21' # FTP
    environment:
      # If you would rather use Sqlite uncomment this
      # and remove all DB_MYSQL_* lines above
      DB_SQLITE_FILE: "/data/database.sqlite"
      # Uncomment this if IPv6 is not enabled on your host
      # DISABLE_IPV6: 'true'
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt
  1. Create a sqlite database:
touch ./data/database.sqlite.
  1. Set up nginx proxy manager using this command:
docker-compose up -d
  1. Viola! It works out of the box!

  2. I then logged into the admin interface http://proxyserver_ip:81. This is a neat/modern interface. I then added port forwards to my two servers running nextcloud and weewx. The nginx proxy manager gets SSL certificates via Letsencrypt. There is no need to get these installed on each server. The proxy forwards use port 80 but under the SSL tab of the admin interface, one can force https.

  3. I ran into a small issue with the nextcloud server once I enabled https. I needed to add the following line to the config.php file:

'overwriteprotocol' => 'https',
  1. All working sweetly as ever!

I solved my problem by side-stepping the issue. This involved configuring a third Raspberry Pi as a dedicated proxy server running nginx proxy manager( https://nginxproxymanager.com/). I used the settings described here: https://www.gitmemory.com/issue/MichaIng/DietPi/4417/847424141.

Essentially the steps I followed were:

  1. set up a new Raspberry Pi running Dietpi
  2. Install docker and docker compose from the Dietpi software menu
  3. Create a Nginx directory
  4. Create a docker-compose.yml folder in this directory with this content:
version: "3"
services:
  app:
    image: 'jc21/nginx-proxy-manager:2'
    restart: always
    ports:
      # Public HTTP Port:
      - '80:80'
      # Public HTTPS Port:
      - '443:443'
      # Admin Web Port:
      - '81:81'
      # Add any other Stream port you want to expose
      # - '21:21' # FTP
    environment:
      # If you would rather use Sqlite uncomment this
      # and remove all DB_MYSQL_* lines above
      DB_SQLITE_FILE: "/data/database.sqlite"
      # Uncomment this if IPv6 is not enabled on your host
      # DISABLE_IPV6: 'true'
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt
  1. Create a sqlite database:
touch ./data/database.sqlite.
  1. Set up nginx proxy manager using this command:
docker-compose up -d
  1. Reboot the Raspberry Pi and viola - it works out of the box!

  2. I then logged into the admin interface http://proxyserver_ip:81. This is a neat/modern interface. I then added port forwards to my two servers running nextcloud and weewx. The nginx proxy manager gets SSL certificates via Letsencrypt. There is no need to get these installed on each server. The proxy forwards use port 80 but under the SSL tab of the admin interface, one can force https.

  3. I ran into a small issue with the nextcloud server once I enabled https. I needed to add the following line to the config.php file:

'overwriteprotocol' => 'https',
  1. All working sweetly as ever!
Source Link

I solved my problem by side-stepping the issue. This involved configuring a third Raspberry Pi as a dedicated proxy server running nginx proxy manager( https://nginxproxymanager.com/). I used the settings described here: https://www.gitmemory.com/issue/MichaIng/DietPi/4417/847424141.

Essentially the steps I followed were:

  1. set up a new Raspberry Pi running Dietpi
  2. Install docker and docker compose from the Dietpi software menu
  3. Create a Nginx directory
  4. Create a docker-compose.yml folder in this directory with this content:
version: "3"
services:
  app:
    image: 'jc21/nginx-proxy-manager:2'
    restart: always
    ports:
      # Public HTTP Port:
      - '80:80'
      # Public HTTPS Port:
      - '443:443'
      # Admin Web Port:
      - '81:81'
      # Add any other Stream port you want to expose
      # - '21:21' # FTP
    environment:
      # If you would rather use Sqlite uncomment this
      # and remove all DB_MYSQL_* lines above
      DB_SQLITE_FILE: "/data/database.sqlite"
      # Uncomment this if IPv6 is not enabled on your host
      # DISABLE_IPV6: 'true'
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt
  1. Create a sqlite database:
touch ./data/database.sqlite.
  1. Set up nginx proxy manager using this command:
docker-compose up -d
  1. Viola! It works out of the box!

  2. I then logged into the admin interface http://proxyserver_ip:81. This is a neat/modern interface. I then added port forwards to my two servers running nextcloud and weewx. The nginx proxy manager gets SSL certificates via Letsencrypt. There is no need to get these installed on each server. The proxy forwards use port 80 but under the SSL tab of the admin interface, one can force https.

  3. I ran into a small issue with the nextcloud server once I enabled https. I needed to add the following line to the config.php file:

'overwriteprotocol' => 'https',
  1. All working sweetly as ever!