From 2ceb098575323c82f0f9e746c68a031dcbc3ef5a Mon Sep 17 00:00:00 2001 From: Don Harper Date: Sat, 15 Jun 2019 22:03:37 -0500 Subject: [PATCH] added .htaccess, removed output dir --- config.toml | 1 - static/.htaccess | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 static/.htaccess diff --git a/config.toml b/config.toml index f98e39ba..31e0cf52 100644 --- a/config.toml +++ b/config.toml @@ -2,7 +2,6 @@ baseURL = "https://www.duckland.org/" languageCode = "en-us" title = "duckland.org" theme = "nederburg" -publishDir = "/var/www/hugo" # Enable comments by entering your Disqus shortname disqusShortname = "" # Enable Google Analytics by entering your tracking code diff --git a/static/.htaccess b/static/.htaccess new file mode 100644 index 00000000..edd394aa --- /dev/null +++ b/static/.htaccess @@ -0,0 +1,4 @@ +RewriteEngine On +RewriteCond %{SERVER_PORT} 80 +RewriteRule ^(.*)$ https://www.duckland.org/$1 [R,L] +