Fix port number in listener object for php hello world app.
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
This commit is contained in:
committed by
Andrew Clayton
parent
73d723e56a
commit
3fdf8c63a2
@@ -115,7 +115,7 @@ section of the API. This time, we pass the config snippet straight from the
|
||||
command line:
|
||||
|
||||
``` console
|
||||
# curl -X PUT -d '{"127.0.0.1:8000": {"pass": "applications/helloworld"}}' \
|
||||
# curl -X PUT -d '{"127.0.0.1:8080": {"pass": "applications/helloworld"}}' \
|
||||
--unix-socket /path/to/control.unit.sock http://localhost/config/listeners
|
||||
```
|
||||
``` json
|
||||
|
||||
Reference in New Issue
Block a user