summaryrefslogtreecommitdiffhomepage
path: root/pkg
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
commit325421eac71e83a95edf178fc6ea5ee36c8da1bb (patch)
tree3bbcbb98d05e593e1c2fb3461db4b2cb45166a2e /pkg
parent17068d2cdc1f0287f4d072e0d3a5694c8dd38e22 (diff)
downloadunit-325421eac71e83a95edf178fc6ea5ee36c8da1bb.tar.gz
unit-325421eac71e83a95edf178fc6ea5ee36c8da1bb.tar.bz2
Packages: URL fixed in examples to work with latest curl.
Diffstat (limited to '')
-rw-r--r--pkg/deb/Makefile.go2
-rw-r--r--pkg/deb/Makefile.go1102
-rw-r--r--pkg/deb/Makefile.go172
-rw-r--r--pkg/deb/Makefile.go182
-rw-r--r--pkg/deb/Makefile.go192
-rw-r--r--pkg/deb/Makefile.perl2
-rw-r--r--pkg/deb/Makefile.php2
-rw-r--r--pkg/deb/Makefile.python2
-rw-r--r--pkg/deb/Makefile.python272
-rw-r--r--pkg/deb/Makefile.python342
-rw-r--r--pkg/deb/Makefile.python352
-rw-r--r--pkg/deb/Makefile.python362
-rw-r--r--pkg/deb/Makefile.ruby2
-rw-r--r--pkg/rpm/Makefile.go2
-rw-r--r--pkg/rpm/Makefile.perl2
-rw-r--r--pkg/rpm/Makefile.php2
-rw-r--r--pkg/rpm/Makefile.python2
-rw-r--r--pkg/rpm/Makefile.python272
-rw-r--r--pkg/rpm/Makefile.python342
-rw-r--r--pkg/rpm/Makefile.python352
-rw-r--r--pkg/rpm/Makefile.python362
-rw-r--r--pkg/rpm/Makefile.ruby2
22 files changed, 22 insertions, 22 deletions
diff --git a/pkg/deb/Makefile.go b/pkg/deb/Makefile.go
index bbade7a3..3399f5ca 100644
--- a/pkg/deb/Makefile.go
+++ b/pkg/deb/Makefile.go
@@ -37,7 +37,7 @@ To check out the sample app, run these commands:
GOPATH=/usr/share/gocode go build -o /tmp/go-app /usr/share/doc/unit-$(MODULE_SUFFIX_go)/examples/go-app/let-my-people.go
sudo service unit restart
cd /usr/share/doc/unit-$(MODULE_SUFFIX_go)/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
diff --git a/pkg/deb/Makefile.go110 b/pkg/deb/Makefile.go110
index 9fb3da9d..0e956d9f 100644
--- a/pkg/deb/Makefile.go110
+++ b/pkg/deb/Makefile.go110
@@ -37,7 +37,7 @@ To check out the sample app, run these commands:
GOPATH=/usr/share/gocode /usr/lib/go-1.10/bin/go build -o /tmp/go1.10-app /usr/share/doc/unit-$(MODULE_SUFFIX_go110)/examples/go-app/let-my-people.go
sudo service unit restart
cd /usr/share/doc/unit-$(MODULE_SUFFIX_go110)/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
diff --git a/pkg/deb/Makefile.go17 b/pkg/deb/Makefile.go17
index 4c3cc73f..d014edd1 100644
--- a/pkg/deb/Makefile.go17
+++ b/pkg/deb/Makefile.go17
@@ -37,7 +37,7 @@ To check out the sample app, run these commands:
GOPATH=/usr/share/gocode /usr/lib/go-1.7/bin/go build -o /tmp/go1.7-app /usr/share/doc/unit-$(MODULE_SUFFIX_go17)/examples/go-app/let-my-people.go
sudo service unit restart
cd /usr/share/doc/unit-$(MODULE_SUFFIX_go17)/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
diff --git a/pkg/deb/Makefile.go18 b/pkg/deb/Makefile.go18
index a9db87e0..597f4804 100644
--- a/pkg/deb/Makefile.go18
+++ b/pkg/deb/Makefile.go18
@@ -37,7 +37,7 @@ To check out the sample app, run these commands:
GOPATH=/usr/share/gocode /usr/lib/go-1.8/bin/go build -o /tmp/go1.8-app /usr/share/doc/unit-$(MODULE_SUFFIX_go18)/examples/go-app/let-my-people.go
sudo service unit restart
cd /usr/share/doc/unit-$(MODULE_SUFFIX_go18)/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
diff --git a/pkg/deb/Makefile.go19 b/pkg/deb/Makefile.go19
index 43611560..60d4b239 100644
--- a/pkg/deb/Makefile.go19
+++ b/pkg/deb/Makefile.go19
@@ -37,7 +37,7 @@ To check out the sample app, run these commands:
GOPATH=/usr/share/gocode /usr/lib/go-1.9/bin/go build -o /tmp/go1.9-app /usr/share/doc/unit-$(MODULE_SUFFIX_go19)/examples/go-app/let-my-people.go
sudo service unit restart
cd /usr/share/doc/unit-$(MODULE_SUFFIX_go19)/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
diff --git a/pkg/deb/Makefile.perl b/pkg/deb/Makefile.perl
index 186b8e5a..7ac3ea11 100644
--- a/pkg/deb/Makefile.perl
+++ b/pkg/deb/Makefile.perl
@@ -35,7 +35,7 @@ To check out the sample app, run these commands:
sudo service unit restart
cd /usr/share/doc/unit-$(MODULE_SUFFIX_perl)/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:8600/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/deb/Makefile.php b/pkg/deb/Makefile.php
index 193670e7..d05d5ad5 100644
--- a/pkg/deb/Makefile.php
+++ b/pkg/deb/Makefile.php
@@ -42,7 +42,7 @@ To check out the sample app, run these commands:
sudo service unit restart
cd /usr/share/doc/unit-$(MODULE_SUFFIX_php)/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:8300/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/deb/Makefile.python b/pkg/deb/Makefile.python
index dec64b26..9bf02bac 100644
--- a/pkg/deb/Makefile.python
+++ b/pkg/deb/Makefile.python
@@ -35,7 +35,7 @@ To check out the sample app, run these commands:
sudo service unit restart
cd /usr/share/doc/unit-$(MODULE_SUFFIX_python)/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:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/deb/Makefile.python27 b/pkg/deb/Makefile.python27
index ae1ae4c0..cf4f49d9 100644
--- a/pkg/deb/Makefile.python27
+++ b/pkg/deb/Makefile.python27
@@ -35,7 +35,7 @@ To check out the sample app, run these commands:
sudo service unit restart
cd /usr/share/doc/unit-$(MODULE_SUFFIX_python27)/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:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/deb/Makefile.python34 b/pkg/deb/Makefile.python34
index 5e043ef4..03c496bd 100644
--- a/pkg/deb/Makefile.python34
+++ b/pkg/deb/Makefile.python34
@@ -35,7 +35,7 @@ To check out the sample app, run these commands:
sudo service unit restart
cd /usr/share/doc/unit-$(MODULE_SUFFIX_python34)/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:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/deb/Makefile.python35 b/pkg/deb/Makefile.python35
index 557690a9..514a4bf6 100644
--- a/pkg/deb/Makefile.python35
+++ b/pkg/deb/Makefile.python35
@@ -35,7 +35,7 @@ To check out the sample app, run these commands:
sudo service unit restart
cd /usr/share/doc/unit-$(MODULE_SUFFIX_python35)/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:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/deb/Makefile.python36 b/pkg/deb/Makefile.python36
index 07cbba90..4fd898c6 100644
--- a/pkg/deb/Makefile.python36
+++ b/pkg/deb/Makefile.python36
@@ -35,7 +35,7 @@ To check out the sample app, run these commands:
sudo service unit restart
cd /usr/share/doc/unit-$(MODULE_SUFFIX_python36)/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:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/deb/Makefile.ruby b/pkg/deb/Makefile.ruby
index 1cb6baab..dd85cd38 100644
--- a/pkg/deb/Makefile.ruby
+++ b/pkg/deb/Makefile.ruby
@@ -37,7 +37,7 @@ To check out the sample app, run these commands:
sudo service unit restart
cd /usr/share/doc/unit-$(MODULE_SUFFIX_ruby)/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:8700/
Online documentation is available at https://unit.nginx.org
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
diff --git a/pkg/rpm/Makefile.perl b/pkg/rpm/Makefile.perl
index 90259e9e..84c15260 100644
--- a/pkg/rpm/Makefile.perl
+++ b/pkg/rpm/Makefile.perl
@@ -51,7 +51,7 @@ To check out the sample app, run these commands:
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:8600/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/rpm/Makefile.php b/pkg/rpm/Makefile.php
index b4f093b7..eedcce4e 100644
--- a/pkg/rpm/Makefile.php
+++ b/pkg/rpm/Makefile.php
@@ -46,7 +46,7 @@ To check out the sample app, run these commands:
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:8300/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/rpm/Makefile.python b/pkg/rpm/Makefile.python
index 0b0eb7bd..bb408bb5 100644
--- a/pkg/rpm/Makefile.python
+++ b/pkg/rpm/Makefile.python
@@ -46,7 +46,7 @@ To check the sample app, run these commands:
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:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/rpm/Makefile.python27 b/pkg/rpm/Makefile.python27
index 7d15bdd9..c6a2ec65 100644
--- a/pkg/rpm/Makefile.python27
+++ b/pkg/rpm/Makefile.python27
@@ -48,7 +48,7 @@ To check the sample app, run these commands:
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:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/rpm/Makefile.python34 b/pkg/rpm/Makefile.python34
index 152007a2..1dc10f9c 100644
--- a/pkg/rpm/Makefile.python34
+++ b/pkg/rpm/Makefile.python34
@@ -46,7 +46,7 @@ To check the sample app, run these commands:
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:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/rpm/Makefile.python35 b/pkg/rpm/Makefile.python35
index 3f075702..3e4e0a2e 100644
--- a/pkg/rpm/Makefile.python35
+++ b/pkg/rpm/Makefile.python35
@@ -41,7 +41,7 @@ To check the sample app, run these commands:
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:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/rpm/Makefile.python36 b/pkg/rpm/Makefile.python36
index fd55840e..d674d8fe 100644
--- a/pkg/rpm/Makefile.python36
+++ b/pkg/rpm/Makefile.python36
@@ -46,7 +46,7 @@ To check the sample app, run these commands:
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:8400/
Online documentation is available at https://unit.nginx.org
diff --git a/pkg/rpm/Makefile.ruby b/pkg/rpm/Makefile.ruby
index 5702fb44..92416338 100644
--- a/pkg/rpm/Makefile.ruby
+++ b/pkg/rpm/Makefile.ruby
@@ -55,7 +55,7 @@ To check the sample app, run these commands:
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:8700/
Online documentation is available at https://unit.nginx.org