From 0c240f728d489408cda135786cf29244c1cd4d83 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Tue, 31 Jul 2012 09:55:26 -0400 Subject: Add a force_https setting (using the same domain syntax as the whitelist settings) to make all requests to that domain use the HTTPS scheme, similar to HSTS. Install a new file, hsts-preload, into the resource dir. This is a regular config file with a bunch of force_https = ... lines, which is used to implement a preloaded HSTS list. Right now all the domains in this file, except for conformal.com and cyphertite.com, are taken directly from chromium's preloaded HSTS list (and should be synced with this file every so often). Also implement a new setting, preload_strict_transport (enabled by default), to enable or disable the loading of this preloaded HSTS list. Document force_https and preload_strict_transport in the manpage. --- linux/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'linux/Makefile') diff --git a/linux/Makefile b/linux/Makefile index c0c2455..8d4e3cf 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -61,6 +61,7 @@ install: all install -m 644 ../xombreroicon128.png $(DESTDIR)$(RESDIR) install -m 644 ../tld-rules $(DESTDIR)$(RESDIR) install -m 644 ../style.css $(DESTDIR)$(RESDIR) + install -m 644 ../hsts-preload $(DESTDIR)$(RESDIR) uninstall: rm -f $(DESTDIR)$(BINDIR)/xombrero @@ -71,7 +72,9 @@ uninstall: rm -f $(DESTDIR)$(RESDIR)/xombreroicon48.png rm -f $(DESTDIR)$(RESDIR)/xombreroicon64.png rm -f $(DESTDIR)$(RESDIR)/xombreroicon128.png + rm -f $(DESTDIR)$(RESDIR)/tld-rules rm -f $(DESTDIR)$(RESDIR)/style.css + rm -f $(DESTDIR)$(RESDIR)/hsts-preload if [ -d $(DESTDIR)$(RESDIR) ]; then rmdir $(DESTDIR)$(RESDIR); fi clean: rm -f xombrero $(OBJS) $(DEPS) -- cgit 1.4.1-2-gfad0