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 | |
# | |
# This script configures WordPress file permissions based on recommendations | |
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
# | |
# Author: Michael Conigliaro <mike [at] conigliaro [dot] org> | |
# | |
WP_OWNER=www-data # <-- wordpress owner | |
WP_GROUP=www-data # <-- wordpress group | |
WP_ROOT=$1 # <-- wordpress root directory |
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
# The following won't work as-is, I use '<>' to denote variables you need to replace, including a name so you can keep them straight! | |
# A list of all of them, for searching follows. | |
# app_directory | |
# app_name | |
# ssl_password | |
# ssl_name | |
#base machine is meant to contain IIS as well as asp/.net requirements | |
FROM microsoft/aspnet | |
#Expose port 443 to allow incoming traffic over the default HTTPS port |