Skip to content

Commit

Permalink
feat: ✨ L4 LB done
Browse files Browse the repository at this point in the history
  • Loading branch information
AnmolVerma404 committed Sep 22, 2023
1 parent 9c79b82 commit 695a173
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ dist
# vuepress v2.x temp and cache directory
.temp
.cache
*temp*

# Docusaurus cache and generated files
.docusaurus
Expand Down
29 changes: 15 additions & 14 deletions Layer 4/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
"name": "layer-4",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"express": "^4.18.2",
"nodemon": "^3.0.1"
}
"name": "layer-4",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"server1": "nodemon index_server_1.js",
"server2": "nodemon index_server_2.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"express": "^4.18.2",
"nodemon": "^3.0.1"
}
}
4 changes: 2 additions & 2 deletions Layer 4/tcp.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
default_backend nodes

backend nodes
server server1 localhost:4444/ check
server server2 localhost:5555/ check
server server1 127.0.0.1:4444 check
server server2 127.0.0.1:5555 check

0 comments on commit 695a173

Please sign in to comment.