fixes for allowing editing of conf outside of VM
This commit is contained in:
+2
-2
@@ -86,5 +86,5 @@ ops/cookbooks/vendor
|
|||||||
secrets.json
|
secrets.json
|
||||||
secrets.js
|
secrets.js
|
||||||
|
|
||||||
.openresty/**
|
openresty/**
|
||||||
!.openresty/README.md
|
!openresty/README.md
|
||||||
|
|||||||
Vendored
+6
-3
@@ -132,8 +132,11 @@ Vagrant.configure("2") do |config|
|
|||||||
end
|
end
|
||||||
|
|
||||||
config.vm.provision "shell", inline: <<~SHELL
|
config.vm.provision "shell", inline: <<~SHELL
|
||||||
# cp -a /etc/openresty/. /vagrant/openresty
|
cd /vagrant/openresty
|
||||||
# rm -rf /etc/openresty
|
shopt -s extglob
|
||||||
# ln -s /vagrant/openresty /etc/openresty
|
rm -frv !("README.md")
|
||||||
|
cp -a "/usr/local/openresty/nginx/conf/." /vagrant/openresty
|
||||||
|
rm -rf /usr/local/openresty/nginx/conf/
|
||||||
|
ln -s /vagrant/openresty/ /usr/local/openresty/nginx/conf
|
||||||
SHELL
|
SHELL
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
`#include sites-enabled/*;`
|
||||||
Reference in New Issue
Block a user