-
Hi, I'm hoping to get some help with migrating media serving from gunicorn to nginx using Unraid. I've been trying to follow the instructions found here however I'm not sure what is wrong with my config and also I'm not sure where to add the these environment variables to or what needs to be entered there. Is is like this? VIRTUAL_HOST= recipes.mydns.com Here is my configuration for my containers Container name: recipes Container name: nginx_recipes Recipes.conf
Going to system version everything seems to be okay but I don't see any of my images. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 17 replies
-
Hmm this looks pretty correct to me 🤔 |
Beta Was this translation helpful? Give feedback.
-
I'm hoping @stormsz can help chime in too since he created the initial commit for the recipes reverse proxy on the swag container. I assume you got it working? |
Beta Was this translation helpful? Give feedback.
-
using gunciorn as the media server should work no matter if there are any reverse proxies in front of it or not. As i do now have an unraid setup and @CorneliousJD who is very skilled with it and also know this application quite well cannot help you i fear that i do not know how to provide further support. I can just generally say that media files are stored inside a mediafiles directory (which looks like you mounted correctly) and that those files need to be served at http://recipedomain.tld/media/recipes/filename.png (i just wrote that here without looking it up, take a look at the broken image for the exact path) |
Beta Was this translation helpful? Give feedback.
-
Okay I got it working!! I've attached my working config for swag. One thing you need to add in your swag container is a mapping to your media/recipes folder Also one thing to note is I couldn't get it to work until I changed my Allowed Hosts key to * I hope this helps! Thank you for everyone who contributed to helping! |
Beta Was this translation helpful? Give feedback.
Okay I got it working!! I've attached my working config for swag.
recipes.subdomain.conf.txt
One thing you need to add in your swag container is a mapping to your media/recipes folder
Also one thing to note is I couldn't get it to work until I changed my Allowed Hosts key to *
When I added my subdomain and my IP address it didn't work. Only * allowed my reverse proxy to work.
I hope this helps! Thank you for everyone who contributed to helping!