Welcome! Log In Create A New Profile

Advanced

Re: domain only reachable with https:// in front

Alexander Naumann
November 28, 2017 11:36AM
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@forum.nginx.org>
An: nginx@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@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

domain only reachable with https:// in front

pstnta November 28, 2017 11:27AM

Re: domain only reachable with https:// in front

Alexander Naumann November 28, 2017 11:36AM

Re: domain only reachable with https:// in front

pstnta November 28, 2017 11:40AM

Re: domain only reachable with https:// in front

jeffdyke November 28, 2017 12:18PM

Re: domain only reachable with https:// in front

Richard Stanway via nginx November 28, 2017 02:32PM

Re: domain only reachable with https:// in front

pstnta November 28, 2017 06:00PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 297
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready