testing-nginx
A configuration file testing of nginx
Description
It's simple proxy for nginx configuration file testing.
browser <----> proxy server (nginx) <----> app server (golang/ruby)
Example
See on this commit, if you track application user id at nginx.
And this commit, if you access static file on root.
Requirement
testing-nginx
depend on docker-compose.
So you need installing docker.
Install
$ docker-compose build
$ docker-compose up
And try http://localhost.
Usage
Change golang to ruby of application server
You can change language of application server.
Please replace dockerfile path in docker-compose.yml
.
app:
build:
context: .
- dockerfile: ./go/Dockerfile
+ dockerfile: ./ruby/Dockerfile
Contribution
- Fork it ( http://github.com/shibukk/testing-nginx/fork )
- Create your feature branch ( git checkout -b my-new-feature )
- Commit your changes ( git commit -am 'Add some feature' )
- Push to the branch ( git push origin my-new-feature )
- Create new Pull Request