mirror of https://github.com/flarum/flarum
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
parent
9b1d92693e
commit
18974b6024
|
@ -193,10 +193,10 @@ Vagrant.configure("2") do |config|
|
||||||
##########
|
##########
|
||||||
|
|
||||||
# Provision Apache Base
|
# 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
|
# 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…
Reference in New Issue