domain only reachable with https:// in front

Alexander Naumann alexander.naumann at artcom-venture.de
Tue Nov 28 16:34:40 UTC 2017


Hi, 

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 forum.nginx.org> 
An: nginx at nginx.org 
Gesendet: Dienstag, 28. November 2017 17:27:57 
Betreff: domain only reachable with https:// in front 

Hi, 

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

here's my sites-enabled/pstn.host https://pastebin.com/raw/dKiEi72q 

any ideas what's wrong or missing? 

thanks! 

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277546,277546#msg-277546 

_______________________________________________ 
nginx mailing list 
nginx at nginx.org 
http://mailman.nginx.org/mailman/listinfo/nginx 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20171128/865e0256/attachment.html>


More information about the nginx mailing list