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_PATH_METADATA = {
|
||||||
# 'extra/robots.txt': {'path': 'robots.txt'},
|
# 'extra/robots.txt': {'path': 'robots.txt'},
|
||||||
'extra/CNAME': {'path': 'CNAME'},
|
'extra/CNAME': {'path': 'CNAME'},
|
||||||
|
'extra/.htaccess': {'path': '.htaccess'},
|
||||||
}
|
}
|
||||||
|
|
||||||
# static paths will be copied without parsing their contents
|
# static paths will be copied without parsing their contents
|
||||||
@ -38,6 +39,7 @@ STATIC_PATHS = [
|
|||||||
'images',
|
'images',
|
||||||
# 'extra/robots.txt',
|
# 'extra/robots.txt',
|
||||||
'extra/CNAME',
|
'extra/CNAME',
|
||||||
|
'extra/.htaccess',
|
||||||
# 'code',
|
# 'code',
|
||||||
# 'notebooks'
|
# 'notebooks'
|
||||||
]
|
]
|
||||||
|
@ -10,7 +10,7 @@ import sys
|
|||||||
sys.path.append(os.curdir)
|
sys.path.append(os.curdir)
|
||||||
from pelicanconf import *
|
from pelicanconf import *
|
||||||
|
|
||||||
SITEURL = 'http://xsteadfastx.org'
|
SITEURL = 'https://xsteadfastx.org'
|
||||||
RELATIVE_URLS = False
|
RELATIVE_URLS = False
|
||||||
|
|
||||||
DELETE_OUTPUT_DIRECTORY = True
|
DELETE_OUTPUT_DIRECTORY = True
|
||||||
@ -20,8 +20,8 @@ FEED_DOMAIN = SITEURL
|
|||||||
# Following items are often useful when publishing
|
# Following items are often useful when publishing
|
||||||
|
|
||||||
# PIWIK
|
# PIWIK
|
||||||
PIWIK_URL = 'piwik.luftmentsh.org'
|
#PIWIK_URL = 'piwik.luftmentsh.org'
|
||||||
PIWIK_SITE_ID = 5
|
#PIWIK_SITE_ID = 5
|
||||||
|
|
||||||
# DISQUS
|
# DISQUS
|
||||||
DISQUS_SITENAME = "xsteadfastx"
|
DISQUS_SITENAME = "xsteadfastx"
|
||||||
|
Loading…
Reference in New Issue
Block a user