Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
extension
ini
ssl
vhost
wwwlogs
wwwroot
README.md

README.md

Example

cd example && \
docker run -p 8080:80 \
-p 8443:443 \
-v $(pwd)/wwwroot:/data/wwwroot \
-v $(pwd)/wwwlogs:/data/wwwlogs \
-v $(pwd)/vhost:/data/server/nginx/vhost \
-v $(pwd)/ssl:/data/server/nginx/ssl \
-v $(pwd)/ini:/data/server/php/ini \
-v $(pwd)/extension:/data/server/php/extension \
-d skiychan/nginx-php7

WEB

If you modify the hosts, you can open the website with the domain.

echo '0.0.0.0 test.docker.mmapp.cc' >> /etc/hosts
You can’t perform that action at this time.