Packages: URL fixed in examples to work with latest curl.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user