Last active
December 30, 2016 13:54
-
-
Save joshlevinson/d90ffab3ea61393e91c2 to your computer and use it in GitHub Desktop.
Revisions
-
joshlevinson revised this gist
Dec 5, 2015 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,2 @@ # create at /etc/dnsmasq.d/dev in the vagrant guest address=/dev/127.0.0.1 -
joshlevinson revised this gist
Dec 3, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,3 @@ # create at /etc/dnsmasq.d/dev in the vagrant guest # this file may be gone if the vagrant box is shut down, so either script its creation when vagrant boots, or recreate it every time. address=/dev/127.0.0.1 -
joshlevinson revised this gist
Nov 2, 2015 . 2 changed files with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,3 @@ # create at /etc/dnsmasq.d/dev in the vagrant guest # this file will be gone if the vagrant box is shut down, so either script its creation when vagrant boots, or recreate it every time. address=/dev/127.0.0.1 This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # create in your vagrant directory @ config/nginx/sites/wildcard.conf # this dir is copied during provision, if you don't want to re-provision, run this in a vagrant shell: # sudo rsync -rvzh --delete /srv/config/nginx-config/sites/ /etc/nginx/custom-sites/ server { listen 80; -
joshlevinson revised this gist
Nov 2, 2015 . No changes.There are no files selected for viewing
-
joshlevinson revised this gist
Nov 2, 2015 . 2 changed files with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,3 @@ # create at /etc/dnsmasq.d/dev # this file will be gone if the vagrant box is shut down, so either script its creation when vagrant boots, or recreate it every time. address=/dev/127.0.0.1 This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,6 @@ # create in /srv/config/nginx/sites/wildcard.conf # this dir is copied during provision, if you don't want to re-provision, run: # sudo rsync -rvzh --delete /srv/config/nginx-config/sites/ /etc/nginx/custom-sites/ server { listen 80; listen 443 ssl; -
joshlevinson revised this gist
Nov 2, 2015 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ #create at /etc/dnsmasq.d/dev # this file will be gone if the vagrant box is shut down, so either script its creation when vagrant boots, or recreate it every time. address=/dev/127.0.0.1 -
joshlevinson revised this gist
Nov 2, 2015 . 1 changed file with 7 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ vagrant ssh cd /srv/www/ mkdir site-name && cd site-name && mkdir htdocs && cd htdocs wp core download wp core config --dbname=site-name --dbuser=root --dbpass=root wp db create wp core install --url=site-name.dev --title=Site --admin_user=admin --admin_pass=password [email protected] -
joshlevinson created this gist
Nov 2, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ #create in /config/nginx/sites/wildcard.conf server { listen 80; listen 443 ssl; server_name ~^(?<name>.*)\.dev; root /srv/www/$name/htdocs; include /etc/nginx/nginx-wp-common.conf; }