Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Nginx-Proxy Template Request

Featured Replies

I would like to see if anyone can assist me in making an unraid template from jwilder/nginx-proxy. I searched the forum and only found one member mention it.

 

Using this docker image, you can setup your router to forward all inbound port 80/443 traffic from the web to the docker image. The docker image of nginx will read the URL and pass it to the corresponding server in its site list. The site list is dynamically regenerated as you spin up new docker application images such as plex/cp/sab/etc. To register a docker image with the proxy, you add the proper domain name(s) to the parameters of the docker image being launched. It also allows you to register multiple domain names, so you can setup plex.externaldomainname.com and plex.local to point to the same server. Using this setup also allows you to spin up separate instances of the same application. One for external and one for internal.

 

Nginx also supports multiple site specific ssl certs, passwd protection, and more. From here we can then proxy all of Nginx through an application firewall (docker based) for all external trafffic.

 

I would like to learn how to create the unraid templates, but this one seems complex with the way it binds to socks....

 

This is a combined image of jwilder/docker-gen image and the official nginx image. Jwilder recommends running this as two separate docker images for security, as outlined in the readme. I would prefer using the two image method, but can learn if someone can help me with the "easy" image first.

 

  • 4 weeks later...

I attempted to run it using the Community Applications plugin to grab it from Docker Hub, but I couldn't get it to start up. It just exited with code 1, and there was nothing in the logs.

I would like to see if anyone can assist me in making an unraid template from jwilder/nginx-proxy. I searched the forum and only found one member mention it.

 

Using this docker image, you can setup your router to forward all inbound port 80/443 traffic from the web to the docker image. The docker image of nginx will read the URL and pass it to the corresponding server in its site list. The site list is dynamically regenerated as you spin up new docker application images such as plex/cp/sab/etc. To register a docker image with the proxy, you add the proper domain name(s) to the parameters of the docker image being launched. It also allows you to register multiple domain names, so you can setup plex.externaldomainname.com and plex.local to point to the same server. Using this setup also allows you to spin up separate instances of the same application. One for external and one for internal.

 

Nginx also supports multiple site specific ssl certs, passwd protection, and more. From here we can then proxy all of Nginx through an application firewall (docker based) for all external trafffic.

 

I would like to learn how to create the unraid templates, but this one seems complex with the way it binds to socks....

 

This is a combined image of jwilder/docker-gen image and the official nginx image. Jwilder recommends running this as two separate docker images for security, as outlined in the readme. I would prefer using the two image method, but can learn if someone can help me with the "easy" image first.

 

We (linuxserver.io) have an Apache container that would suit your needs and we're working on an nginx one...

 

Repo here

Apache

I had a look at your Apache container, and it doesn't do the same thing as jwilder/nginx-proxy.

 

Docker container IP addresses are randomised, and unRAID doesn't set a container hostname, so it looks like your Apache container config expects the host IP address in the ProxyPass config. jwilder/nginx-proxy uses docker-gen to read container meta-data and generate nginx confg files from that.

Gotcha, my bad... sorry, replied originally whilst I was trying to do something else and at my age I should know I can't multitask...

 

Still, I'll ask the guys on #linuxserver.io about this, because it seems pretty interesting.

As people are thinking about containers for these things I would like to suggest you think about adding support for Let's Encrypt https://letsencrypt.org/

 

Let's Encrypt already has an official docker here and instructions on how to use it here

Back to topic, i am useing thsis image on unraid, ill post my template soon

Definitely interested in this

  • 5 months later...

Any update on this, docker-gen sounds very interesting. I am currently using the linuxserver.io Apache server for reverse proxy, but some automation of new containter sounds great. There is a docker with it and nginx combined (https://hub.docker.com/r/jwilder/nginx-proxy/) would be interested if anyone has this running in unraid?

 

Thanks,

Wob

There are two nginx containers in the community applications. One has letsencrypt and fail2ban built in

But do either have docker-gen, it enables automation of the reverse proxy config using docker API. I am yet to try it, the linuxserver.io gave it container of the month, so I was hoping a unraid template might follow.

I'm not too familiar with docker-gen, but setting up the reverse proxy with nginx is very easy and you only have to do it once. There are templates posted in the threads.

aptalca: Thanks for the reply, so are you saying you don't need to modify for each new container? I currently need to add a new subpath to port mapping for each new container I wish to have internet facing.

 

Thanks,

Wob

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.