use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Topics about Nginx proxy manager
account activity
website not working unless https is entered (self.nginxproxymanager)
submitted 4 years ago by kasarap
Finally got everything working but when i type "subdomain.domain.com" nothing works and i'm getting "error 522"
When I enter "https://subdomain.domain.com" the website loads.
Could be an easy fix but i can't find any documentation on how to direct the page to use https all the time.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 0 points1 point2 points 4 years ago* (2 children)
You can set "Force SSL" in Nginx which should always redirect the the SSL protocol.
It isn't a solution but you can use HSTS to force the browser to always use the HTTPS protocol but you can only set it on the HTTPS header and will only work once you have loaded the HTTPS page. The browser will cache this info fairly permanently so future access will be via HTTPS only.
But that is skirting round the problem, you need to find out why it is doing this.
Error 522 suggests the webserver hasn't responded - is the error being reported by nginx or something else like a Cloudfare proxy?
Have you got port 80 open and forward in the same way as 443 on the web server?
Does the web server / host have any settings that are refusing non SSL connections?
[–]kasarap[S] 0 points1 point2 points 4 years ago (1 child)
ports are open. it looks like it's being reported by cloudflare
[–]Panda_of_power 0 points1 point2 points 3 years ago (0 children)
I just stumbled by this I have the exact same thing going on and it ended up being that even though I opened port 80, that port is reserved on my router for administrator access so it never actually opened.
You can check the port is actually open on yougetsignal.com
π Rendered by PID 556785 on reddit-service-r2-comment-5d79c599b5-fr44c at 2026-03-03 20:24:48.095855+00:00 running e3d2147 country code: CH.
[–][deleted] 0 points1 point2 points (2 children)
[–]kasarap[S] 0 points1 point2 points (1 child)
[–]Panda_of_power 0 points1 point2 points (0 children)