SSL is dead, long live SSL
FYI - SSL configuration is gone as of this kind of big diff.
These days, no web site should be running without SSL. If you are on the Internet, providing a service, you should be protecting your user traffic. Certificates are free (letsencrypt!), proxies are cheap (Cloudflare!), and CPU is abundant with hardware support for crypto. The fact that we still had things like $LJ::USE_SSL
is a mis-feature.
(Not to mention it was insanely confusing trying to figure out what $LJ::HTTPS_EVERYWHERE
meant compared to $LJ::ALL_TRAFFIC_IS_SSL
...)
Anyway, it's all gone now. Dreamwidth will just handle whatever traffic you give it and will use whatever $LJ::SITEROOT
you set. The recommended configuration is now to set your $LJ::SITEROOT
to be secure (https://...
) and set up certificates on your proxy service of choice. Given that nobody is actually running Dreamwidth besides us, though, this is sort of left as an exercise to the reader -- but feel free to ask questions if you have any, we can probably give some advice on how we've set it up.
no subject
$PROTOCOL = "http";