Skip to content

Commit

Permalink
Fix port number in listener object for php hello world app.
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
  • Loading branch information
oCHRISo authored and ac000 committed Nov 21, 2023
1 parent 73d723e commit 3fdf8c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3fdf8c6

Please sign in to comment.