Skip to content

businho/nginx-behavior

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nginx-behavior

Project to test nginx undocumented behaviors.

Examples:

  • How nginx handle Cache-Control max-age and s-maxage?
  • Which is the precedence of proxy_cache_valid directive and these cache headers?
  • Request cookies change how cache is handled?
  • Response Set-Cookie avoid cache?

How to run it

Start nginx and httpbin defined in docker-compose:

$ docker-compose up -d

Install Python dependencies:

$ pip install -r requirements.txt

Run pytest tests:

$ pytest test.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages