Public Repository

Last pushed: 2 years ago
Short Description
Base NGINX image compliant with my preferences for directory/file structuring of websites
Full Description

I've modified the NGINX image to comply with my wishes for directory and file structure.

Sites are structured as follows:

  • site
    • config: Additional configurations included by various applications
    • logs: Logs from all programs. NGINX logs in a subdirectory called 'nginx'.
    • public: Files served by NGINX

The image can be easily extended with for instance PHP-support

I start a new container with the following command:

docker run -d --name [NAME] -e VIRTUAL_HOST=[DOMAINS] --restart=always -v [DIRECTORY]:/data:rw bdalenoord/nginx

Substitute the values between square brackets.

Docker Pull Command
Owner
bdalenoord

Comments (0)