This is a starting base image using Nginx and Docker which also has PHP support.
  • HTML 50.1%
  • CSS 25.4%
  • Dockerfile 23.8%
  • PHP 0.7%
Find a file
2026-06-23 01:34:28 -04:00
data/nginx Add files to repo 2026-06-23 01:34:28 -04:00
src Add files to repo 2026-06-23 01:34:28 -04:00
.env.example Add files to repo 2026-06-23 01:34:28 -04:00
.gitignore Add files to repo 2026-06-23 01:34:28 -04:00
docker-compose.yml Add files to repo 2026-06-23 01:34:28 -04:00
Dockerfile Add files to repo 2026-06-23 01:34:28 -04:00
Readme.md Add files to repo 2026-06-23 01:34:28 -04:00

Nginx Docker starting image

This is a starting image using Nginx and Docker which also has PHP support.

I might add MySql and Phpmyadmin support to this later.

Features

  • Cloudflare IP list in data/nginx/cloudflare.conf
  • IP addresses setup to work behind Cloudflare in default.conf.
  • Basic error pages.
  • Caching static files, disabled some file caching for dev.
  • Gzip compression.
  • Using non-root user in docker, so the container port is changed from 80 to 8081 and the user is using the Nginx user.