8000 Improve document · BaseMax/ComposeDockerNginxPHP@382de68 · GitHub
[go: up one dir, main page]

Skip to content

Commit 382de68

Browse files
committed
Improve document
1 parent 2bbb5b6 commit 382de68

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ Based on the official Docker images:
2222

2323
### Host setup
2424

25-
* [Docker Engine]() version **18.06.0** or newer
26-
* [Docker Compose]() version **2.3.4** or newer
25+
* [Docker Engine](https://docs.docker.com/engine/release-notes/) version **18.06.0** or newer
26+
* [Docker Compose](https://docs.docker.com/compose/release-notes/) version **2.3.4** or newer
2727

2828
> **Warning**
2929
> For running this stack you must use `docker compose up` instead of `docker-compose up` (see [this](https://github.com/BaseMax/ComposeDockerNginxPHP/issues/2))
30-
30+
>
3131
> **Note**
3232
> Especially on Linux, make sure your user has the [required permissions](https://docs.docker.com/engine/install/linux-postinstall/) to interact with the Docker
3333
> daemon.
@@ -74,7 +74,9 @@ Run docker-compose up -d to start the containers in detached mode.
7474
Open http://localhost:80 in your browser for Nginx. You should see the default Nginx welcome page.
7575
Open http://localhost:8080 in your browser for PHPMyAdmin. You will be prompted to enter a username and password to log in. The default username is root and the default password is password.
7676

77+
7778
## Configuration
79+
7880
Nginx
7981
The Nginx co 3F26 nfiguration is located in the nginx directory. The nginx.conf file is the main configuration file. It contains global settings for Nginx such as the number of worker processes, the user that Nginx runs as, and the location of the log files. The sites directory contains the configuration for each site. The sites/default.conf file is the default configuration for all sites. It defines the server block for the default virtual host and sets the document root to /var/www/html. The sites/example.com.conf file is an example configuration for a virtual host for the example.com site. You can add additional virtual host configuration files in this directory for any other sites you want to run on your local machine.
8082

0 commit comments

Comments
 (0)
0