Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Redirect from http to https? #186

Closed
TabTwo opened this issue Aug 26, 2015 · 3 comments
Closed

Redirect from http to https? #186

TabTwo opened this issue Aug 26, 2015 · 3 comments

Comments

@TabTwo
Copy link

TabTwo commented Aug 26, 2015

I think it would make using streisand easier to use if nginx was configured in this way.

@mveplus
Copy link

mveplus commented Sep 8, 2015

Redirect 80 to 443:
Edit /etc/nginx/sites-available/streisand and add this:
server {
listen 80;
return 301 https://$host$request_uri;
}
Restart Nginx, make sure your iptables allow tcp on post 80.

@cpu
Copy link
Collaborator

cpu commented Apr 8, 2017

This feature request will be complicated by the tor-bridge role. Right now it configures the torrc config to listen on 80. I believe this would have to be moved to a different port for there to be an HTTP -> HTTPS redirect for the Gateway website.

@cpu
Copy link
Collaborator

cpu commented Jun 16, 2017

I'm going to close this issue. I think implementing it as requested will be difficult given the tor-bridge role. Overall I don't think the current configuration with the gateway only accessible on 443 is a usability problem because we expressly generate the correct https: links in the generated documentation that is intended to be shared with end-users.

Thanks!

@cpu cpu closed this as completed Jun 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants