This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# inside the ssl server block - no idea WHY this worked, but it DID: | |
location ~ /.well-known { | |
allow all; | |
} | |
#Server declaration for non-encrypted port 80 | |
server { | |
listen 80; | |
server_name mysite.com www.mysite.com; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
TRIGGER="/home/daniel/shares/trig/trig" | |
cd /home/daniel/shares/drafts/ | |
for i in *.md | |
do | |
if grep -q @post ${i}; then | |
echo "process.sh: $(date)" >> /home/daniel/shares/ascraeus_proc.log 2>&1 | |
sed -i '/status:/d' ${i} | |
TITLE=$(grep -i title\: ${i} | sed 's/[Tt]itle\:\ //g;s/^[ \t]*//;s/[ \t]*$//;s/[.!]//g;s/\ /\-/g;s/[^[:print:]]//') |
NewerOlder