NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/56220: http://man.netbsd.org should redirect to https://man.netbsd.org



>Number:         56220
>Category:       misc
>Synopsis:       http://man.netbsd.org should redirect to https://man.netbsd.org
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun May 30 18:40:01 +0000 2021
>Originator:     Jan Schaumann
>Release:        N/A
>Organization:
	
>Environment:
	N/A
>Description:
	http://man.netbsd.org should redirect to https://man.netbsd.org

	At a minimum this will prevent the user from being presented with
	a "Not Secure" notification in modern browsers.
>How-To-Repeat:
	Go to http://man.netbsd.org
>Fix:
	Put in place a global redirect for http->https.

	Looks like man.netbsd.org is using nginx, so something like this:

	server {
		listen      80;
		server_name man.netbsd.org
		rewrite     ^   https://$server_name$request_uri? permanent;
	}




Home | Main Index | Thread Index | Old Index