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:
Chris Adams
2023-11-08 11:27:44 +00:00
committed by Andrew Clayton
parent 73d723e56a
commit 3fdf8c63a2

View File

@@ -115,7 +115,7 @@ section of the API. This time, we pass the config snippet straight from the
command line: command line:
``` console ``` 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 --unix-socket /path/to/control.unit.sock http://localhost/config/listeners
``` ```
``` json ``` json