Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Commit 411b02f

Browse files
author
Daryl Lozupone
committed
Update FAQ with instructions on switching between Nginx and Apache
closes #198
1 parent 6ef815f commit 411b02f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

FAQ.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
- [How do I access Adminer?](#adminer)
4040
- [How do I access MailHog?](#mailhog)
4141
- [How do I fix the Vagrant 1.8.6 Bug?](#vagrant-1.8.6-bug)
42+
- [How do I switch from Nginx to Apache?](#webserver)
4243

4344
### Glossary
4445
- [What Do They All These Terms Mean?](#glossary)
@@ -132,7 +133,7 @@ First check to see what version of Vagrant you are running by running the follow
132133
vagrant -v
133134

134135
If you are running Vagrant 1.8.6 upgrade your Vagrant; see [Vagrant-1.8.6-bug](#vagrant-1.8.6-bug) to understand why. If not please run [`vagrant reload --debug`](#vagrant-debug) and provide your `vagrant.log` when [requesting support](#support).
135-
136+
136137
<a id="no-answer"></a>
137138
### No Answer Here
138139

@@ -396,7 +397,16 @@ Then run `vagrant reload`. This should fix it.
396397

397398
Also you should not need to revert that after upgrading to a new version of Vagrant **_unless_** you need to [change the box's IP address](README.md#change-ip).
398399

400+
<a id="webserver"></a>
401+
### How do I switch from Nginx to Apache (or vice versa)?
402+
By default, WPLib Box uses Nginx as its webserver. However, Apache is available and can be switched out with Nginx.
403+
The box CLI has a command, `set-web-server` to accomplish this.
399404

405+
For example, to switch from Nginx to Apache:
406+
407+
+ Log in to the box using `vagrant ssh` on your host machine.
408+
+ Enter the following command: `box set-web-server apache` to make Apache the running webserver.
409+
+ Conversely, you can `box set-web-server nginx` to switch from Apache to Nginx.
400410

401411
##Glossary
402412

0 commit comments

Comments
 (0)