https://github.com/aayusharyan/fake-iis
Dockerized nginx mimicking Microsoft IIS 8
https://github.com/aayusharyan/fake-iis
alpine asp-net deception decoy docker docker-compose fake-server homelab iis iis8 impersonation microsoft microsoft-iis nginx openresty self-hosted static-site web-server windows windows-server
Last synced: 1 day ago
JSON representation
Dockerized nginx mimicking Microsoft IIS 8
- Host: GitHub
- URL: https://github.com/aayusharyan/fake-iis
- Owner: aayusharyan
- License: mit
- Created: 2026-05-28T11:01:36.000Z (18 days ago)
- Default Branch: main
- Last Pushed: 2026-05-28T14:15:04.000Z (18 days ago)
- Last Synced: 2026-05-28T15:21:44.751Z (18 days ago)
- Topics: alpine, asp-net, deception, decoy, docker, docker-compose, fake-server, homelab, iis, iis8, impersonation, microsoft, microsoft-iis, nginx, openresty, self-hosted, static-site, web-server, windows, windows-server
- Language: HTML
- Homepage: https://homelab.yush.dev
- Size: 116 KB
- Stars: 12
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fake-iis
A lightweight Docker image that serves a fake Microsoft IIS 8.0 website using OpenResty/nginx.
## How it works
- Serves a pixel-perfect replica of the IIS 8.0 default splash page
- Spoofs HTTP response headers (`Server: Microsoft-IIS/8.0`, `X-Powered-By: ASP.NET`, `X-AspNet-Version: 4.0.30319`)
- Exposes a `web.config` endpoint with the correct XML content-type
- Returns authentic IIS-styled 403, 404, and 500 error pages
- Silently drops all access and error logs
## Usage
### Docker Compose
Copy the example compose file and adjust ports as needed:
```bash
cp docker-compose-example.yml docker-compose.yml
docker compose up -d
```
The container listens on port `80`. The example maps it to host port `8080` — change the left side to suit your setup.
### GHCR (no build required)
Pull the pre-built image directly from the GitHub Container Registry:
```bash
docker run -d \
--name fake-iis \
--restart unless-stopped \
--security-opt no-new-privileges:true \
-p 8080:80 \
ghcr.io/aayusharyan/fake-iis:latest
```
Replace `8080` with whichever host port you want to expose.
## Requirements
- Docker
- Docker Compose
## License
MIT