fixes for allowing editing of conf outside of VM

This commit is contained in:
2023-08-20 14:09:46 -04:00
parent ddb28ddf50
commit 8c44ab91f9
3 changed files with 9 additions and 5 deletions
+2 -2
View File
@@ -86,5 +86,5 @@ ops/cookbooks/vendor
secrets.json
secrets.js
.openresty/**
!.openresty/README.md
openresty/**
!openresty/README.md
Vendored
+6 -3
View File
@@ -132,8 +132,11 @@ Vagrant.configure("2") do |config|
end
config.vm.provision "shell", inline: <<~SHELL
# cp -a /etc/openresty/. /vagrant/openresty
# rm -rf /etc/openresty
# ln -s /vagrant/openresty /etc/openresty
cd /vagrant/openresty
shopt -s extglob
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
end
+1
View File
@@ -0,0 +1 @@
`#include sites-enabled/*;`