-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code review notes and changes after rebasingx
- Loading branch information
Matthew Yacobucci
committed
Sep 1, 2023
1 parent
55807ea
commit 8081f84
Showing
3 changed files
with
57 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# example configuration block to test upstream.rs | ||
http { | ||
upstream backend { | ||
server localhost:15501; | ||
custom 32; | ||
} | ||
|
||
server { | ||
listen 15500; | ||
server_name _; | ||
|
||
location / { | ||
proxy_pass http://backend; | ||
} | ||
} | ||
|
||
server { | ||
listen 15501; | ||
|
||
location / { | ||
return 418; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters