# Config file to run git example

**URL:** <https://openziti.discourse.group/t/config-file-to-run-git-example/378>\
**Category:** General Questions\
**Created:** [April 6, 2022, 2:17pm UTC](https://openziti.discourse.group/t/config-file-to-run-git-example/378 "2022-04-06T14:17:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![falves](https://avatars.discourse-cdn.com/v4/letter/f/49beb7/32.png) [@falves](https://openziti.discourse.group/u/falves)\
**Post date:** [April 6, 2022, 2:17pm UTC](https://openziti.discourse.group/t/config-file-to-run-git-example/378/1 "2022-04-06T14:17:16Z")

</div>

Hello,

Where can I find a config file to run this example? [ziti-sdk-c/sample\_http\_link.c at main · openziti/ziti-sdk-c · GitHub](https://github.com/openziti/ziti-sdk-c/blob/main/programs/sample_http_link/sample_http_link.c)  
Preferably one for the client and one for the server.

Best

---

<div class="post-metadata">

**Author:** ![TheLumberjack](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/thelumberjack/32/113_2.png) [@TheLumberjack](https://openziti.discourse.group/u/TheLumberjack)\
**Post date:** [April 6, 2022, 2:34pm UTC](https://openziti.discourse.group/t/config-file-to-run-git-example/378/2 "2022-04-06T14:34:56Z")

</div>

You can find a quick video which has the necessary commands in the description on our youtube channel at [sample http link c - YouTube](https://youtu.be/YNsR7p60InA)

I don’t think we have a server/client example yet but I’ll see if we can get something like that added soon.

ziti cli commands for running that example using a ziti-egde-tunnel on the server side is below (copied from that video)

```auto
# create two identities. one host - one client. Only necessary if you want/need them. Skippable if you
ziti edge create identity device httpbin.server -a httpbinServerEndpoints -o httpbin.server.jwt
ziti edge create identity device httpbin.client -a httpbinClientEndpoints -o httpbin.client.jwt

ziti edge enroll httpbin.server.jwt
ziti edge enroll httpbin.client.jwt

ziti edge create config httpbin-host.v1 host.v1 '{"protocol":"tcp", "address":"httpbin.org","port":80}'
ziti edge create service httpbin --configs httpbin-host.v1
ziti edge create service-policy httpbin-binding Bind --service-roles '@httpbin' --identity-roles '#httpbinServerEndpoints'
ziti edge create service-policy httpbin-dialing Dial --service-roles '@httpbin' --identity-roles '#httpbinClientEndpoints'

```
