From ac2cf46474609bb99df95dba03a2911981e6370f Mon Sep 17 00:00:00 2001 From: Austin Frey <aafrey85@gmail.com> Date: Wed, 27 Sep 2017 20:45:56 -0400 Subject: [PATCH] Fixed curl commands to use correct paths Signed-off-by: Austin Frey <aafrey85@gmail.com> --- guide/traefik_integration.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/guide/traefik_integration.md b/guide/traefik_integration.md index 0f73480b..1c2a01ef 100644 --- a/guide/traefik_integration.md +++ b/guide/traefik_integration.md @@ -103,12 +103,12 @@ $ ./deploy_stack.yml #### Test ``` -$ curl -u user:password -X POST http://localhost/openfaas/function/func_echoit -d "hello OpenFaaS" +$ curl -u user:password -X POST http://localhost/function/func_echoit -d "hello OpenFaaS" hello OpenFaaS -$curl -X POST http://localhost/openfaas/function/func_echoit -d "hello OpenFaaS" +$curl -X POST http://localhost/function/func_echoit -d "hello OpenFaaS" 401 Unauthorized ``` -Visit the browser UI at `http://localhost/openfaas`. You should +Visit the browser UI at `http://localhost/ui/`. You should be greeted with a login alert. ## Configure Traefik with SSL Support @@ -165,11 +165,11 @@ $ ./deploy_stack.sh #### Test ``` -$ curl -u user:password -X POST https://your-domain.com/openfaas/function/func_echoit -d "hello OpenFaaS" +$ curl -u user:password -X POST https://your-domain.com/function/func_echoit -d "hello OpenFaaS" hello OpenFaaS -$curl -X POST https://your-domain.com/openfaas/function/func_echoit -d "hello OpenFaaS" +$curl -X POST https://your-domain.com/function/func_echoit -d "hello OpenFaaS" 401 Unauthorized ``` -Visit the browser UI at `https://your-domain.com/openfaas`. You should +Visit the browser UI at `https://your-domain.com/ui/`. You should be greeted with a login alert. -- GitLab