Nginx proxy manager

Currently reading
Nginx proxy manager

25
3
NAS
DS218+
Operating system
  1. macOS
Mobile operating system
  1. iOS
Hello,

does anyone use NGINX Proxy Manager?
Would appreciate any help to get it running on my Syno.



Thank you
Regards
 

Attachments

  • proxy-hosts.png
    proxy-hosts.png
    225.7 KB · Views: 71

Rusty

Moderator
NAS Support
2,463
738
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Have you tried running it via Docker? If so how exactly?
 
25
3
NAS
DS218+
Operating system
  1. macOS
Mobile operating system
  1. iOS
no, its supposed to use a docker-compose, but i've never used it yet.
could maybe someone write a tutorial?
 
127
34
NAS
DS918+, DS1815+
Operating system
  1. Linux
  2. macOS
Mobile operating system
  1. Android
This page describes perfectly how to setup in synology: NGM synology.
Maybe you can try yourself and if you are stuck we can help.
 
127
34
NAS
DS918+, DS1815+
Operating system
  1. Linux
  2. macOS
Mobile operating system
  1. Android
I was also already trying to install this one, but I have already so many ports in use that I have to look what port I should use for this. This link comes from the site you have given.
Nginx Proxy Manager
 
112
32
NAS
DS918+ (8GB RAM, 4x WD RED 4TB SHR) ; EATON Ellipse PRO 1200FR
Operating system
  1. Windows
Mobile operating system
  1. Android
it's only how to update container on Syno.
Seems like only the update process has a specific section for Synology.
Everything else is applicable to any docker capable system.
 
25
3
NAS
DS218+
Operating system
  1. macOS
Mobile operating system
  1. iOS
let us try! but i stuck already at the beginning. There are my questions:
1. can i use a default nginx from synology or is it better to install another one via docker?
2. i'm using already MariaDB 10 with my Webstation. Can i use this DB for Nginx proxy manager?
3.where to place config.json on Synology?
4.I've never used docker-compose, but ist already installed on my Syno.
Where to place docker-compose.yml?

thank you!
 

Rusty

Moderator
NAS Support
2,463
738
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
1. can i use a default nginx from synology or is it better to install another one via docker?
Depends on your needs and if there are some specific customizations that you wanna do

2. i'm using already MariaDB 10 with my Webstation. Can i use this DB for Nginx proxy manager?
Should work but there are some that can't cross using bare metal installations with docker containers, so keep that in mind.

3.where to place config.json on Synology?
Config of what exactly?

4.I've never used docker-compose, but ist already installed on my Syno.
Where to place docker-compose.yml?
You can place it anywhere where docker will "see" it. As long as it can read the file it will be able to trigger it. So the location is up to you regarding name of the folder(s) but keep in mind that docker needs to have read permissions there
 

Rusty

Moderator
NAS Support
2,463
738
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Are you using it as a docker or bare-metal install? In any case config.json is in [URL='https://github.com/jc21/nginx-proxy-manager/tree/master/.jenkins'].jenkins[/URL] folder of the installation.
 
25
3
NAS
DS218+
Operating system
  1. macOS
Mobile operating system
  1. iOS
@Rusty
you got me! i've no clue)))
I'll better wait for step by step help, like you did it with bitwarden.)))
i found this board regarding to your bitwarden tutorial, that was very helpful and successful on my Syno installation.
 
127
34
NAS
DS918+, DS1815+
Operating system
  1. Linux
  2. macOS
Mobile operating system
  1. Android
It's the first step of installation :
"The app requires a configuration file to let it know what database you're using. By default, this file is called config.json"
You have to place the jason before you start your container configuration in the folder where you want it. Then when configurating the container volume choose for select file and not select folder.

Screenshot 2020-04-24 at 11.36.17.png


Screenshot 2020-04-24 at 11.38.14.png


4.I've never used docker-compose, but ist already installed on my Syno.
Where to place docker-compose.yml?
Docker-compse is already installed. And the file you can place where you want.
 
25
3
NAS
DS218+
Operating system
  1. macOS
Mobile operating system
  1. iOS
Last edited:
ok. i put config.json and docker-compose.yml into the same folder on Syno /volume1/docker/nginx-proxy-manager

than SSH as a root to my Syno and :
Code:
docker-compose up -d
and get
Code:
ERROR:
        Can't find a suitable configuration file in this directory or any
        parent. Are you in the right directory?

        Supported filenames: docker-compose.yml, docker-compose.yaml
Sorry for bothering you, but i'm very a beginner))
 

Attachments

  • Bildschirmfoto 2020-04-24 um 11.58.05.png
    Bildschirmfoto 2020-04-24 um 11.58.05.png
    105.9 KB · Views: 18
127
34
NAS
DS918+, DS1815+
Operating system
  1. Linux
  2. macOS
Mobile operating system
  1. Android
I have it running, takes 5 minutes. Will make a small howto after further testing.

Screenshot 2020-04-24 at 12.01.53.png



Screenshot 2020-04-24 at 12.03.46.png
 
127
34
NAS
DS918+, DS1815+
Operating system
  1. Linux
  2. macOS
Mobile operating system
  1. Android
ok. i put config.json and docker-compose.yml into the same folder on Syno /volume1/docker/nginx-proxy-manager

than SSH as a root to my Syno and :
Code:
docker-compose up -d
and get
Code:
ERROR:
        Can't find a suitable configuration file in this directory or any
        parent. Are you in the right directory?

        Supported filenames: docker-compose.yml, docker-compose.yaml
Sorry for bothering you, but i'm very a beginner))
You must do the docker-compose up -d in the same directory where you yaml file is placed.
 
25
3
NAS
DS218+
Operating system
  1. macOS
Mobile operating system
  1. iOS
Code:
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.app.environment contains an invalid type, it should be an object, or an array

i'lll wait better for your howto))
 
@jphermans: since you have it running, does it provide advanded configuration than our application portal reverse proxy does?

@alfabravo: I would strongly suggest not to run the application on bare metal. I am not sure what it does to the nginx config, if the Syno-Modules and Nginx Proxy Manager try to controll the same set of configurations... I would use the container, which should have an embedded nginx, controlled by the Nginx Proxy Manager. Running it inside the container does not prevent you from adding reverse proxy rules to other web applications outside the containerized world.
 
127
34
NAS
DS918+, DS1815+
Operating system
  1. Linux
  2. macOS
Mobile operating system
  1. Android
@one-eyed-king: since you have it running, does it provide advanded configuration than our application portal reverse proxy does?[/qoute]
That's what I try to find out. Since I am not working with letsencrypt but have my own ssl paid certifcate, i can't find how to set this up. The container is running but without configuration.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Similar threads

Similar threads

Top