howto use https in favour of http

Olivier Nicole Olivier.Nicole at
Tue Oct 27 01:44:17 UTC 2009


> i've added the following line to my /etc/hosts:
> so what i want is for freebsd to never use http, but https for that address.
> unfortunately hosts doesn't seem to support this syntax.

De3finitely not. man hosts to see the syntax and meaning of the
/etc/hosts file.

> any advice on how to do this?

I am not sure what you want to do. You want to install a web server
that only serves https? then you configure your web server to only
serve https, in Apache configuration you would only have a 
and none with port 80.

Best regards,


More information about the freebsd-questions mailing list