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