added support for .htaccess
This commit is contained in:
parent
fac0ef25cb
commit
e671b67c1a
2 changed files with 5 additions and 0 deletions
4
.htaccess
Normal file
4
.htaccess
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
RewriteEngine On
|
||||||
|
RewriteCond %{SERVER_PORT} 80
|
||||||
|
RewriteRule ^(.*)$ https://www.duckland.org/$1 [R,L]
|
||||||
|
|
||||||
1
conf.py
1
conf.py
|
|
@ -88,6 +88,7 @@ DEPLOY_COMMANDS = {
|
||||||
"cd sigal; sigal build",
|
"cd sigal; sigal build",
|
||||||
"nikola build",
|
"nikola build",
|
||||||
"nikola check -l",
|
"nikola check -l",
|
||||||
|
"cp .htaccess output/",
|
||||||
"chmod -R a+rX output/",
|
"chmod -R a+rX output/",
|
||||||
"rsync -a --delete -e 'ssh -x -i /home/don/.ssh/http -l duck' output/ wise.dreamhost.com:httpd/duckland.org/nikola",
|
"rsync -a --delete -e 'ssh -x -i /home/don/.ssh/http -l duck' output/ wise.dreamhost.com:httpd/duckland.org/nikola",
|
||||||
#"rsync -a --delete -e 'ssh -x -i /home/don/.ssh/http -l don' ./ don@web.duckland.org:/srv/http/work/www.duckland.org",
|
#"rsync -a --delete -e 'ssh -x -i /home/don/.ssh/http -l don' ./ don@web.duckland.org:/srv/http/work/www.duckland.org",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue