update from Atlas
This commit is contained in:
parent
d9e8f44297
commit
4572b8dfbe
@ -1,6 +1,6 @@
|
||||
=====================================================
|
||||
Setting up Nginx and Vaurien for testing HTTP clients
|
||||
=====================================================
|
||||
============================
|
||||
Setting up Nginx and Vaurien
|
||||
============================
|
||||
|
||||
This text explains how to configure Nginx and Vaurien to test HTTP client code while avoiding network traffic and introducing simulated delays and errors. This setup is necessary if you want to experiment with the image download examples in chapters 17 and 18 of Fluent Python.
|
||||
|
||||
@ -88,7 +88,7 @@ Most of the content in ``nginx.conf`` is within a block labeled ``http`` and enc
|
||||
}
|
||||
|
||||
|
||||
After editing ``nginx.conf`` the server must be started (if it's not running) or told to reload the configuration file:
|
||||
After editing ``nginx.conf`` the server must be started (if it's not running) or told to reload the configuration file::
|
||||
|
||||
|
||||
$ nginx # to start, if necessary
|
||||
@ -161,7 +161,7 @@ Platform-specific instructions
|
||||
Nginx setup on Mac OS X
|
||||
------------------------
|
||||
|
||||
Homebrew (copy & paste code at the bottom of http://brew.sh/):
|
||||
Homebrew (copy & paste code at the bottom of http://brew.sh/)::
|
||||
|
||||
|
||||
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user