H2O_King89 Posted September 5, 2018 Share Posted September 5, 2018 when trying unifi i get this nginx: [emerg] "proxy_http_version" directive is duplicate in /config/nginx/proxy-confs/unifi.subdomain.conf:48 when trying sonarr i get something about ending Quote Link to comment
aptalca Posted September 5, 2018 Share Posted September 5, 2018 (edited) 4 hours ago, H2O_King89 said: when trying unifi i get this nginx: [emerg] "proxy_http_version" directive is duplicate in /config/nginx/proxy-confs/unifi.subdomain.conf:48 when trying sonarr i get something about ending Then look for a duplicate directive in your confs Edited September 5, 2018 by aptalca Quote Link to comment
JonathanM Posted September 5, 2018 Share Posted September 5, 2018 4 hours ago, H2O_King89 said: when trying unifi i get this nginx: [emerg] "proxy_http_version" directive is duplicate in /config/nginx/proxy-confs/unifi.subdomain.conf:48 when trying sonarr i get something about ending So remove or comment out the duplicate line. The error message tells you exactly which line and where it is. The only decision you have to make is which of the two lines you want to keep, if they have different values. Quote Link to comment
H2O_King89 Posted September 5, 2018 Share Posted September 5, 2018 So remove or comment out the duplicate line. The error message tells you exactly which line and where it is. The only decision you have to make is which of the two lines you want to keep, if they have different values.I don’t know what to look for because I’m not seeing a duplicate. This is a stock config.. all I did was remove .sample Sent from my iPhone using Tapatalk Pro Quote Link to comment
ijuarez Posted September 5, 2018 Share Posted September 5, 2018 1 hour ago, aptalca said: Then look for a duplicate directive in your confs yep. compare them had the same issue removed the duplicate lines and LE was happy Quote Link to comment
ijuarez Posted September 5, 2018 Share Posted September 5, 2018 14 hours ago, aptalca said: It seems the issue may be uppercase/lowercase related in the container name Corrected the name no luck, so i renamed the container in the gui to just guacamole and matched the name in the config and restarted and it worked. did not like the container name. Quote Link to comment
aptalca Posted September 5, 2018 Share Posted September 5, 2018 1 hour ago, ijuarez said: Corrected the name no luck, so i renamed the container in the gui to just guacamole and matched the name in the config and restarted and it worked. did not like the container name. yup, I remember running into that issue before with emby where the container was named "EmbyServer" and it wouldn't match as nginx was looking for "embyserver" Good idea to use all lowercase in container names, we do that for all lsio images Quote Link to comment
aptalca Posted September 5, 2018 Share Posted September 5, 2018 2 hours ago, H2O_King89 said: I don’t know what to look for because I’m not seeing a duplicate. This is a stock config.. all I did was remove .sample Sent from my iPhone using Tapatalk Pro I realize we have a duplicate in there, but it shouldn't cause issues other than a warning in the log. Just so you know, the "include" directive in nginx configs will import an external config. In unifi's conf, line 39 is calling an external file, proxy.conf, which also includes a proxy_http_version directive and that's how you have a duplicate 😉. We'll fix it in the next update, but in the meantime, you can delete line 48 to get rid of that second directive. Quote Link to comment
mattgob86 Posted September 6, 2018 Share Posted September 6, 2018 Alright, I have been trying to follow SpaceInvader's video on how to get this set up and when I start Let Encrypt, it gives me this error My Port Forwarding is correct as far as I can tell, I am using the Unifi Controller Docker on the same server Here is my configuration for the docker container I have tried and tried but I get the same results and I am getting into the insanity territory (doing the same thing over and over). If anyone could help I would appreciate it. Quote Link to comment
ijuarez Posted September 6, 2018 Share Posted September 6, 2018 Alright, I have been trying to follow SpaceInvader's video on how to get this set up and when I start Let Encrypt, it gives me this error My Port Forwarding is correct as far as I can tell, I am using the Unifi Controller Docker on the same server Here is my configuration for the docker container I have tried and tried but I get the same results and I am getting into the insanity territory (doing the same thing over and over). If anyone could help I would appreciate it. Are you sure your ISP does not block port 80Sent from my BND-L34 using Tapatalk Quote Link to comment
mattgob86 Posted September 6, 2018 Share Posted September 6, 2018 2 hours ago, ijuarez said: Are you sure your ISP does not block port 80 Sent from my BND-L34 using Tapatalk I contacted them and they said they do not. I have used port 80 directly to a raspberry pi for Home Assistant in the past and the whole reason I am doing this is because I migrated my Home Assistant to my unraid server and I would like external access. Quote Link to comment
ijuarez Posted September 6, 2018 Share Posted September 6, 2018 5 minutes ago, mattgob86 said: I contacted them and they said they do not. I have used port 80 directly to a raspberry pi for Home Assistant in the past and the whole reason I am doing this is because I migrated my Home Assistant to my unraid server and I would like external access. what are you using to update the duckdns ip? Quote Link to comment
mattgob86 Posted September 6, 2018 Share Posted September 6, 2018 Just now, ijuarez said: what are you using to update the duckdns ip? The docker for DuckDNS, I was following the video when I got that error and haven't been able to move past it. Quote Link to comment
ijuarez Posted September 6, 2018 Share Posted September 6, 2018 1 minute ago, mattgob86 said: The docker for DuckDNS, I was following the video when I got that error and haven't been able to move past it. when you log in to duckdns, are you seeing your IP Quote Link to comment
mattgob86 Posted September 6, 2018 Share Posted September 6, 2018 15 minutes ago, ijuarez said: when you log in to duckdns, are you seeing your IP Yes Quote Link to comment
ijuarez Posted September 6, 2018 Share Posted September 6, 2018 1 minute ago, mattgob86 said: Yes looks like your using and UniFi product, can you post the configs of the port forward. Quote Link to comment
mattgob86 Posted September 6, 2018 Share Posted September 6, 2018 1 minute ago, ijuarez said: looks like your using and UniFi product, can you post the configs of the port forward. What configs beyond what the screenshot is are you talking about? Quote Link to comment
mattgob86 Posted September 6, 2018 Share Posted September 6, 2018 This is from my unifi cloud, I have apparently multiple IP addresses for the host, I have been using the 10.0.0.244 in the port forward but I have not tried the others, maybe I should be using the IP for the docker containers? Quote Link to comment
ijuarez Posted September 6, 2018 Share Posted September 6, 2018 2 minutes ago, mattgob86 said: What configs beyond what the screenshot is are you talking about? I use pfSense, when i create a port forward it gives me several fine details on how that port forward is going to behave. LE can't get thru the firewall to verify its you. Im sure you have the correct settings but i never hurts to have a second set of eyes take a look at it. Quote Link to comment
H2O_King89 Posted September 6, 2018 Share Posted September 6, 2018 Have you tired this?http://www.canyouseeme.org/Sent from my iPhone using Tapatalk Pro Quote Link to comment
mattgob86 Posted September 6, 2018 Share Posted September 6, 2018 3 minutes ago, ijuarez said: I use pfSense, when i create a port forward it gives me several fine details on how that port forward is going to behave. LE can't get thru the firewall to verify its you. Im sure you have the correct settings but i never hurts to have a second set of eyes take a look at it. In Unifi, the only other setting you can't see in the screenshot that I posted already is TCP,UDP or Both and I have them set to Both atm. 1 minute ago, H2O_King89 said: Have you tired this?http://www.canyouseeme.org/ Sent from my iPhone using Tapatalk Pro I have tried this with it showing me it cannot see my port 80 and 443 but I tried just using the NGINX docker and it could see the 443 but not the 80. Quote Link to comment
H2O_King89 Posted September 6, 2018 Share Posted September 6, 2018 Maybe double nat?Sent from my iPhone using Tapatalk Pro Quote Link to comment
mattgob86 Posted September 6, 2018 Share Posted September 6, 2018 (edited) 4 minutes ago, H2O_King89 said: Maybe double nat? Sent from my iPhone using Tapatalk Pro I have the cable modem set to bridge mode and that has been working fine for a year plus. I tried a couple days ago to verify that it wasn't that and I could not even get into the modem to change settings. I have other ports open for plex that have not had problems so I trust my port settings. Edited September 6, 2018 by mattgob86 Quote Link to comment
ijuarez Posted September 6, 2018 Share Posted September 6, 2018 1 minute ago, mattgob86 said: I have the cable modem set to bridge mode and that has been working fine for a year plus. and that's the only port forwards you have? Quote Link to comment
mattgob86 Posted September 6, 2018 Share Posted September 6, 2018 (edited) 1 minute ago, ijuarez said: and that's the only port forwards you have? No, I have others that are not shown but are working fine. The port 80/443 forward I had before moving Home Assistant was working great (other than the pi kept dying) Edited September 6, 2018 by mattgob86 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.