Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
NickMRamirez committed Oct 6, 2020
1 parent a76260a commit 4f65edf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Lua library for enabling CORS in HAProxy.

# Background
## Background

Cross-origin Request Sharing allows you to permit client-side code running within a different domain to call your services. This module extends HAProxy so that it can:

Expand Down Expand Up @@ -50,7 +50,7 @@ http-request lua.cors "GET,PUT,POST" "example.com,localhost,localhost:8080", "X-
http-response lua.cors
```

Example 2: Allow all methods, origins, and headers
**Example 2: Allow all methods, origins, and headers**

```
http-request lua.cors "*" "*", "*"
Expand Down

0 comments on commit 4f65edf

Please sign in to comment.