summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/Makefile.go
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2018-12-27 11:06:43 +0300
committerAndrei Belov <defan@nginx.com>2018-12-27 11:06:43 +0300
commita22fd45248b6a247673d1fd9ab50c183987ab9b4 (patch)
tree9bc90e18fbb2ad0880af54cf19d8d1db97e725dd /pkg/rpm/Makefile.go
parente038f1e9cc61e735645a3ac8605b055614327040 (diff)
downloadunit-a22fd45248b6a247673d1fd9ab50c183987ab9b4.tar.gz
unit-a22fd45248b6a247673d1fd9ab50c183987ab9b4.tar.bz2
Packages: URL fixed in examples to work with latest curl.
Diffstat (limited to '')
-rw-r--r--pkg/rpm/Makefile.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/rpm/Makefile.go b/pkg/rpm/Makefile.go
index d13e8d1a..f031c7ba 100644
--- a/pkg/rpm/Makefile.go
+++ b/pkg/rpm/Makefile.go
@@ -64,7 +64,7 @@ To check the sample app, run these commands:
GOPATH=%{gopath} go build -o /tmp/go-app /usr/share/doc/unit-go/examples/go-app/let-my-people.go
sudo service unit start
cd /usr/share/doc/%{name}/examples
- sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config
+ sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config
curl http://localhost:8500/
Online documentation is available at https://unit.nginx.org