using ssl
This commit is contained in:
parent
bc70188925
commit
8751516bae
3
content/extra/.htaccess
Normal file
3
content/extra/.htaccess
Normal file
@ -0,0 +1,3 @@
|
||||
RewriteEngine On
|
||||
RewriteCond %{HTTPS} !on
|
||||
RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
|
@ -31,6 +31,7 @@ RSS_FEED_SUMMARY_ONLY = False
|
||||
EXTRA_PATH_METADATA = {
|
||||
# 'extra/robots.txt': {'path': 'robots.txt'},
|
||||
'extra/CNAME': {'path': 'CNAME'},
|
||||
'extra/.htaccess': {'path': '.htaccess'},
|
||||
}
|
||||
|
||||
# static paths will be copied without parsing their contents
|
||||
@ -38,6 +39,7 @@ STATIC_PATHS = [
|
||||
'images',
|
||||
# 'extra/robots.txt',
|
||||
'extra/CNAME',
|
||||
'extra/.htaccess',
|
||||
# 'code',
|
||||
# 'notebooks'
|
||||
]
|
||||
|
@ -10,7 +10,7 @@ import sys
|
||||
sys.path.append(os.curdir)
|
||||
from pelicanconf import *
|
||||
|
||||
SITEURL = 'http://xsteadfastx.org'
|
||||
SITEURL = 'https://xsteadfastx.org'
|
||||
RELATIVE_URLS = False
|
||||
|
||||
DELETE_OUTPUT_DIRECTORY = True
|
||||
@ -20,8 +20,8 @@ FEED_DOMAIN = SITEURL
|
||||
# Following items are often useful when publishing
|
||||
|
||||
# PIWIK
|
||||
PIWIK_URL = 'piwik.luftmentsh.org'
|
||||
PIWIK_SITE_ID = 5
|
||||
#PIWIK_URL = 'piwik.luftmentsh.org'
|
||||
#PIWIK_SITE_ID = 5
|
||||
|
||||
# DISQUS
|
||||
DISQUS_SITENAME = "xsteadfastx"
|
||||
|
Loading…
Reference in New Issue
Block a user