Sign inSign up

theinfobots/nginx-server

By theinfobots

•Updated 4 months ago

High-performance Nginx server with PHP 8 (FPM) on Alpine Linux, including custom error handling.

Image
Web servers
0

107

theinfobots/nginx-server repository overview

⁠Nginx Server with PHP 8

A high-performance Nginx server pre-configured for PHP 8 with custom error handling and security optimizations.

⁠Why use this?

  • Performance: Powered by Nginx on Alpine Linux for a tiny footprint and high speed.
  • Security: server_tokens disabled to prevent version leakage.
  • PHP 8 Support: Pre-configured with PHP-FPM 8.
  • Custom Error Pages: English 404 and 403 pages included.

⁠How to use

⁠1. Run the container
docker run -d --name nginx-server -p 8081:8080 theinfobots/nginx-server:latest
⁠2. Access the server

Open your browser at http://localhost:8081.

⁠3. Customizing content

To use your own files, mount them to /var/www/html:

docker run -d -p 8081:8080 -v /path/to/your/site:/var/www/html theinfobots/nginx-server:latest

Tag summary

Content type

Image

Digest

sha256:a777ecbd6…

Size

45 MB

Last updated

4 months ago

docker pull theinfobots/nginx-server