domain only reachable with https:// in front

Alexander Naumann alexander.naumann at
Tue Nov 28 16:34:40 UTC 2017


you have : 
if ($scheme != "https") {
        return 301 https://$host$request_uri;
} # managed by Certbot 
in your config, that redirects everything to https. 

Mit freundlichen Grüßen / best regards 
Alexander Naumann 

artcom venture GmbH 

----- Ursprüngliche Mail -----

Von: "pstnta" <nginx-forum at> 
An: nginx at 
Gesendet: Dienstag, 28. November 2017 17:27:57 
Betreff: domain only reachable with https:// in front 


I'm using nginx as reverse proxy for guacamole, I can only reach my domain 
with or, it won't work without https 
or with even with https. 

here's my sites-enabled/ 

any ideas what's wrong or missing? 


Posted at Nginx Forum:,277546,277546#msg-277546 

nginx mailing list 
nginx at 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list