https://github.com/whywaita/isucon7-nginx-cache-test
https://github.com/whywaita/isucon7-nginx-cache-test
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/whywaita/isucon7-nginx-cache-test
- Owner: whywaita
- Created: 2017-10-23T09:49:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-23T09:52:11.000Z (over 8 years ago)
- Last Synced: 2025-05-25T15:49:18.456Z (10 months ago)
- Language: HTML
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nginx cache Test
Reproduction of [ISUCON7](http://isucon.net/archives/50949022.html) environment (Nginx deliver many images).
## Prepare
Get many images by Instagram, use [knok/instagram-food-images](https://github.com/knok/instagram-food-images).
```
$ cd icons
$ wget -i urllist_gyoza.txt --wait 60
```
modify index.html
```
$ ls icons/ | awk '{print "
"}' > index.html
```
## Usage
```
$ docker run -it --rm --name nginx -v $(pwd):/usr/share/nginx/html -v $(pwd)/conf.d/:/etc/nginx/conf.d/ -v$(pwd)/nginx.conf:/etc/nginx/nginx.conf -p 8080:80 nginx:alpine
```