How to Install Nginx Proxy Manager on Your UGREEN NAS

How to Install Nginx Proxy Manager on Your UGREEN NAS

Nginx Proxy Manager enables you to easily forward to your websites running at home or otherwise, including free SSL, without having to know too much about Nginx or Let’s Encrypt certificate. You can easily manage Nginx proxy hosts and SSL Certificates with a simple, powerful interface. Itā€™s also completely free and great for both casual users and computer experts. In this step by step guide I will show you how to install Nginx Proxy Manager on your UGREEN NAS using Docker & Portainer.

šŸ’”Note: This guide works perfectly with the latest Nginx Proxy Manager v.2.12.2Ā release.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

InstallĀ Portainer using my step by step guide. If you already have Portainer installed on your UGREEN NAS, skip this STEP. Attention: Make sure you have installed the latest Portainer version.

  • STEP 3

āš ļøMandatory Add Read & Write Permissions to the Docker Folder. If you have already added the Read and Write Permissions to the Docker Folder, skip this STEP.

  • STEP 4

āš ļøMandatory: Update your UGREEN NAS Firmware to the latest version. Go to Control Panel / Update and update your NAS with the latest Firmware.

  • STEP 5

Go to Control Panel / Device Connection / Portal settings tab. Uncheck Redirect port 80 to HTTP port. Uncheck Redirect port 443 to HTTPS port. Click Apply. Follow the instructions in the image below.

Nginx Proxy Manager UGREEN NAS Set up 1

  • STEP 6

Go toĀ File Manager and open the docker folder. Inside the docker folder, create one new folder and name it npm. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

Nginx Proxy Manager UGREEN NAS Set up 2

  • STEP 7

Now create two new folders inside the npm folder that you have previously created at STEP 6 and name them data and letsencrypt. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

Nginx Proxy Manager UGREEN NAS Set up 3

  • STEP 8

Download (click on the blue link below) then upload the config.json file below in the npm folder that you have previously created at STEP 6. Follow the instructions in the image below. šŸ”’Note: Support my work to unlock the password. You can use this password to download any file on mariushosting forever!

šŸ‘‰šŸ»Download config.json

Nginx Proxy Manager UGREEN NAS Set up 4

  • STEP 9

Log into Portainer using your username and password. On the left sidebar in Portainer, click on StacksĀ thenĀ + Add stack. Follow the instructions in the image below.

UGREEN NAS Portainer Add Stack

  • STEP 10

In the Name field type in wishlist. Follow the instructions in the image below.

Note: Copy Paste the code below in the Portainer Stacks Web editor.

services:
 nginx-proxy-manager:
  image: jc21/nginx-proxy-manager
  container_name: Nginx-Proxy-Manager
  healthcheck:
      test: timeout 10s bash -c ':> /dev/tcp/127.0.0.1/81' || exit 1
      interval: 10s
      timeout: 5s
      retries: 3
      start_period: 90s
  volumes:
    - /volume1/docker/npm/letsencrypt:/etc/letsencrypt:rw
    - /volume1/docker/npm/data:/data:rw
    - /volume1/docker/npm/config.json:/app/config/production.json
  environment:
    TZ: Europe/Bucharest
    INITIAL_ADMIN_EMAIL: yourown@email
    INITIAL_ADMIN_PASSWORD: mariushosting
  ports:
    - 443:443
    - 81:81
    - 80:80
  restart: on-failure:5

Note: Before you paste the code above in the Web editor area below, change the value for TIME_ZONE.Ā (Select your current Time Zone from this list.)
Note: Before you paste the code above in the Web editor area below, change the value for INITIAL_ADMIN_EMAIL. Type in your own Email Address.
Note: Before you paste the code above in the Web editor area below, change the value for INITIAL_ADMIN_PASSWORD. Type in your own password. mariushosting is an example for a password.

Nginx Proxy Manager UGREEN NAS Set up 5

  • STEP 11

Scroll down on the page until you see a button namedĀ Deploy the stack. Click on it. Follow the instructions in the image below. The installation process can take up to a few minutes. It will depend on your Internet speed connection.

Nginx Proxy Manager UGREEN NAS Set up 6

  • STEP 12

If everything goes right, you will see the following message at the top right of your screen: ā€œSuccess Stack successfully deployedā€œ.

Nginx Proxy Manager UGREEN NAS Set up 7

  • STEP 13

The installation process can take up to a few seconds/minutes. It will depend on your Internet speed connection. Now open your browser and type in http://ugreennas-ip-address:81/login Type in your own Email Address (INITIAL_ADMIN_EMAIL) and Password (INITIAL_ADMIN_PASSWORD) that you have previously added at STEP 10, then click Sign in. Follow the instructions in the image below.

Nginx Proxy Manager UGREEN NAS Set up 8

  • STEP 14

Your Nginx Proxy Manager dashboard at a glance!

Nginx Proxy Manager UGREEN NAS Set up 9

  • STEP 15

You can now use your own domain name and request subdomain certificates. Full guide available.

  • STEP 16

Remember to port forward ports 80 and 443 on your router pointing to your UGREEN local NAS IP.

Enjoy Nginx Proxy Manager on your UGREEN NAS!

This post was updated on Sunday / January 19th, 2025 at 10:58 AM