Sign inSign up

6eh01der/nginx-win

By 6eh01der

Updated 4 days ago

nginx for windows

Image
Networking
Web servers
0

357

6eh01der/nginx-win repository overview

nginx for windows in docker

https://github.com/6eh01der/nginx-win-servercore

Originally forked from https://github.com/olljanat/nginx-nanoserver this variant based on full featured, production ready nginx for windows http://nginx-win.ecsds.eu/.

Because nginx-win requires vcredist (C++ 2022) and nanoserver supports only MSIX packages this dockerfile based on servercore image for ability to deploy required packages (vcredist_x86.exe & vcredist_x64.exe).

Run

docker run -d --name nginx --expose 80 -p 80:80 6eh01der/nginx-win:ltsc2025-1.31.1.5

Override conf directory for example by mounting from host:

docker run -d --name nginx --expose 80 -p 80:80 -v .\conf:C:\nginx-win\conf 6eh01der/nginx-win:ltsc2025-1.31.1.5

Tags:

ltsc2019-1.31.1.5 - Windows Server Core 2019 (https://hub.docker.com/r/microsoft/windows-servercore) with nginx-win 1.31.1.5

ltsc2022-1.31.1.5 - Windows Server Core 2022 (https://hub.docker.com/r/microsoft/windows-servercore) with nginx-win 1.31.1.5

ltsc2025-1.31.1.5 - Windows Server Core 2025 (https://hub.docker.com/r/microsoft/windows-servercore) with nginx-win 1.31.1.5

Override healthcheck port to specific port configured in nginx:

docker run -d --name nginx --expose 80 -p 80:8080 -e PORT=8080 6eh01der/nginx-win:ltsc2025-1.31.1.5

Tag summary

Content type

Image

Digest

sha256:0574ca8f9

Size

2.3 GB

Last updated

4 days ago

docker pull 6eh01der/nginx-win:ltsc2019-1.31.1.5