toastghost Posted Thursday at 03:39 PM Share Posted Thursday at 03:39 PM I'm using 6.10.3 and have no errors. Plex is working in a container and I have a variety of other dockers running just fine. I am trying to set up a reverse proxy with Nginx to be able to access overseerr. I have the domain setup on cloudflare and the cloudflare dynamic dns app working. My ISP has long leases. I am using a mikrotik rb2011 router and, as I mentioned, I was able to do the appropriate port forwarding to get plex to work great. the Nginx log says that it fails http-01 test. It does not seem to matter what I do. I was trying to use ports 1980 and 19443 with nginx and forwarding those. I followed a number of nginx youtube videos but was not able to make it work. I am convinced that I am missing something with the network that Nginx is on but I have tried all of them. On some networks I am not able to access the gui. There is a very strong possibility that my router settings are off. I tried following the same ones that work for the plex port but it did not work. This included forwarding ports 80 and 443 which basically made my network unable to access the internet. I started trying different versions of the Nginx app but i still cant get a certificate set. I am aware given this information there are only about 1,000,000 things that it could be that are tripping me up but any help would be great. Quote Link to comment
jmztaylor Posted Thursday at 03:54 PM Share Posted Thursday at 03:54 PM If I had to guess, 1980 and 19443 are non standard ports. Since it fails on http-01 test I am assuming it defaults to port 80. Which it cannot connect to. Check the docs of the container you are using for the SSL cert and see if you can pass a different port to use. Quote Link to comment
toastghost Posted Friday at 04:18 AM Author Share Posted Friday at 04:18 AM Honestly, I would be fine making it work with standard ports but I am out of my depth quite a bit. I have two ports forwarded, one for plex. and one for unraid management access which is 19443 to [unraid address]:443. These both work. when I try to forward other ports like 443 to 19443 and 80 to 1980 it makes my internet not work and i have to delete the forward for the 19443 to 443 and the other rules to make it work. The NGINX docker is set to 19443 for https. Quote Link to comment
toastghost Posted Friday at 07:40 AM Author Share Posted Friday at 07:40 AM Double post but I fixed it mostly. I figured out the filter rules and nat for my router adding 80 to 1880 and 443 to 18443 for both tcp and udp. I had to turn off the proxy for the domain in cloudflare but I got the certificate! And it works!! I turned the proxy back on and it still works!! Mostly. The only problem is that I get a bad gateway error (502) if nginx is set to https. Quote Link to comment
jmztaylor Posted Friday at 02:37 PM Share Posted Friday at 02:37 PM To get 80/443 to go to unraid properly, you will have to change the ports unraid gui listens on. This can be done under settings-management access. I have a feeling once that cert expires you are going to have the same issue again. Not completely sure though Quote Link to comment
toastghost Posted Saturday at 06:05 AM Author Share Posted Saturday at 06:05 AM (edited) I changed the ports for the unraid gui and forwarded the new port, remote access is green. Still getting 502 with https. Locally I can access overseerr with http only. Edited Saturday at 06:46 AM by toastghost Quote Link to comment
jmztaylor Posted Saturday at 02:36 PM Share Posted Saturday at 02:36 PM 8 hours ago, toastghost said: I changed the ports for the unraid gui and forwarded the new port, remote access is green. Still getting 502 with https. Locally I can access overseerr with http only. what is your nginx config for overseerr? Quote Link to comment
toastghost Posted Saturday at 07:00 PM Author Share Posted Saturday at 07:00 PM 4 hours ago, jmztaylor said: what is your nginx config for overseerr? I am not sure where to find that config file.. is it this? # ------------------------------------------------------------ # overseerr.MYSERVERNAME.com # ------------------------------------------------------------ server { set $forward_scheme https; set $server "192.168.1.225"; set $port 5055; listen 80; listen [::]:80; listen 443 ssl http2; listen [::]:443 ssl http2; server_name overseerr.MYSERVERNAME.com; # Let's Encrypt SSL include conf.d/include/letsencrypt-acme-challenge.conf; include conf.d/include/ssl-ciphers.conf; ssl_certificate /etc/letsencrypt/live/npm-50/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/npm-50/privkey.pem; # Asset Caching include conf.d/include/assets.conf; # Block Exploits include conf.d/include/block-exploits.conf; # Force SSL include conf.d/include/force-ssl.conf; access_log /data/logs/proxy-host-4_access.log proxy; error_log /data/logs/proxy-host-4_error.log warn; location / { # Proxy! include conf.d/include/proxy.conf; } # Custom include /data/nginx/custom/server_proxy[.]conf; } Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.