From 18974b6024cfa138a0479395e40161be67e8d122 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Wed, 17 Jun 2015 01:35:56 +0200 Subject: [PATCH] Vagrant: Use Apache instead of nginx. Nginx seemed to have some problems with PATH_INFO which I did not want to investigate at this time. By using Apache, I can now have different front controllers for e.g. the API (api.php) vs. the forum itself (index.php). We can even do similar things for assets etc. --- Vagrantfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 7f4e43c..14dc17b 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -193,10 +193,10 @@ Vagrant.configure("2") do |config| ########## # Provision Apache Base - # config.vm.provision "shell", path: "#{github_url}/scripts/apache.sh", args: [server_ip, public_folder, hostname, github_url] + config.vm.provision "shell", path: "#{github_url}/scripts/apache.sh", args: [server_ip, public_folder, hostname, github_url] # Provision Nginx Base - config.vm.provision "shell", path: "#{github_url}/scripts/nginx.sh", args: [server_ip, public_folder, hostname, github_url] + # config.vm.provision "shell", path: "#{github_url}/scripts/nginx.sh", args: [server_ip, public_folder, hostname, github_url] ####