Browse Source

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.
pull/9/head
Franz Liedke 10 years ago
parent
commit
18974b6024
  1. 4
      Vagrantfile

4
Vagrantfile vendored

@ -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]
####

Loading…
Cancel
Save