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 | |
LOCKFILE="/home/tad/scripts/.unlocked_wp-content" | |
WPDIR="/var/www/localhost/htdocs/blog/wp/wp-content" | |
if [ -f $LOCKFILE ]; then | |
echo "Locking WP-Content Directory" | |
find $WPDIR -type f -exec chmod 644 {} \; | |
find $WPDIR -type d -exec chmod 755 {} \; | |
rm -f $LOCKFILE |
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
server { | |
listen 80 default_server; | |
listen [::]:80 ipv6only=on default_server; | |
server_name splunk.net blog.splunk.net www.splunk.net .taddevries.com; | |
access_log /var/log/nginx/blog.access_log main; | |
error_log /var/log/nginx/blog.error_log info; | |
return 301 https://blog.splunk.net; | |
} | |
server { |
OlderNewer