Indentation

This commit is contained in:
Bob Mottram 2015-12-10 15:38:30 +00:00
parent c94f7d0fcd
commit 7ae6d57543
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ KEY_HASH=$(openssl rsa -in $KEY_FILENAME -outform der -pubout | openssl dgst -sh
PIN_HEADER="add_header Public-Key-Pins 'pin-sha256=\"${KEY_HASH}\"; max-age=5184000; includeSubDomains';"
if ! grep -q "add_header Public-Key-Pins" $SITE_FILENAME; then
sed -i "/ssl_ciphers.*/a $PIN_HEADER" $SITE_FILENAME
sed -i "/ssl_ciphers.*/a $PIN_HEADER" $SITE_FILENAME
else
sed -i "s/add_header Public-Key-Pins.*/$PIN_HEADER/g" $SITE_FILENAME
fi