Skip to content

Commit

Permalink
Update ingress.md (cloudflare#450)
Browse files Browse the repository at this point in the history
* Update ingress.md

* Update ingress.md
  • Loading branch information
TownLake authored Dec 9, 2020
1 parent 51a5abe commit 0378541
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions products/argo-tunnel/src/content/configuration/ingress.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@ You can define ingress rules inside of the configuration file.

## Requirements

Configuration files that contain ingress rules must always include the following items:
Configuration files that contain ingress rules must always include a catch-all rule that concludes the ingress file.

* The Tunnel UUID value
* The path to the credentials file for that Tunnel
* A catch-all rule that concludes the ingress file
In the following example, `- service: http_status:404` serves as the catch-all rule for the file.

The following example includes all three requirements, as well as two hostname-service pairs. In this case, the catch-all rule will return a 404.
The file also includes the Tunnel UUID, path to the credentials file, and two ingress rules. The Tunnel UUID or name can alternatively be specified in the `tunnel run` command and the path to the credentials file can be excluded if it is located at the default filepath.

```yml
tunnel: 6ff42ae2-765d-4adf-8112-31c55c1551ef
Expand Down

0 comments on commit 0378541

Please sign in to comment.