The default stack uses Apache for the db service while the pantheon and platformsh stacks use nginx.
If you use the default stack, you do not have to make any configuration changes to use Apache, but
if you want to specify the use of nginx, you will need to modify your docksal.yml
file.
Docksal has defined a web service with an nginx image. To set your web service to use
nginx instead of Apache, set the web service in your docksal.yml
file.
version: "2.1"
services:
web:
extends:
file: ${HOME}/.docksal/stacks/services.yml
service: nginx
Remember to run fin project start
(fin p start
) to apply the configuration.
Was this page helpful?
Thanks for the feedback. If you have a specific, answerable question about how to use Docksal, ask it in Discussions on GitHub. Open an issue if you want to report a problem or suggest an improvement. You can also contribute changes to this page using the link in the top right corner.