You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 25, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: FAQ.md
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,7 @@
39
39
-[How do I access Adminer?](#adminer)
40
40
-[How do I access MailHog?](#mailhog)
41
41
-[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)
42
43
43
44
### Glossary
44
45
-[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
132
133
vagrant -v
133
134
134
135
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
+
136
137
<aid="no-answer"></a>
137
138
### No Answer Here
138
139
@@ -396,7 +397,16 @@ Then run `vagrant reload`. This should fix it.
396
397
397
398
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).
398
399
400
+
<aid="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.
399
404
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.
0 commit comments