Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
S
Simple Web App with HAProxy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mohamadbashar.disoki
Simple Web App with HAProxy
Commits
e2d9ba2c
Commit
e2d9ba2c
authored
Feb 23, 2025
by
Mohamad Bashar Desoki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add haproxy cfg1
parent
9095bcf4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
7 deletions
+38
-7
workspace.xml
.idea/workspace.xml
+19
-7
haproxy1.cfg
src/haproxy/haproxy1.cfg
+19
-0
No files found.
.idea/workspace.xml
View file @
e2d9ba2c
...
@@ -9,11 +9,7 @@
...
@@ -9,11 +9,7 @@
<option
name=
"autoReloadType"
value=
"SELECTIVE"
/>
<option
name=
"autoReloadType"
value=
"SELECTIVE"
/>
</component>
</component>
<component
name=
"ChangeListManager"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"ad904d3c-917a-41ec-8997-0c459fd2925c"
name=
"Changes"
comment=
"simple web app"
>
<list
default=
"true"
id=
"ad904d3c-917a-41ec-8997-0c459fd2925c"
name=
"Changes"
comment=
"add haproxy cfg"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/java/org/ds/WebServer.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/java/org/ds/WebServer.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/resources/index.html"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/resources/index.html"
afterDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_NON_ACTIVE_CHANGELIST"
value=
"false"
/>
<option
name=
"HIGHLIGHT_NON_ACTIVE_CHANGELIST"
value=
"false"
/>
...
@@ -41,13 +37,20 @@
...
@@ -41,13 +37,20 @@
<component
name=
"PropertiesComponent"
>
<![CDATA[{
<component
name=
"PropertiesComponent"
>
<![CDATA[{
"keyToString": {
"keyToString": {
"RunOnceActivity.ShowReadmeOnStart": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"SHARE_PROJECT_CONFIGURATION_FILES": "true",
"git-widget-placeholder": "master",
"git-widget-placeholder": "master",
"kotlin-language-version-configured": "true",
"kotlin-language-version-configured": "true",
"last_opened_file_path": "D:/HIAST Library/Teaching/ADS/2025/HAProxy/New folder/simple-web-app/src/haproxy",
"project.structure.last.edited": "Artifacts",
"project.structure.last.edited": "Artifacts",
"project.structure.proportion": "0.15",
"project.structure.proportion": "0.15",
"project.structure.side.proportion": "0.2850575"
"project.structure.side.proportion": "0.2850575"
}
}
}]]>
</component>
}]]>
</component>
<component
name=
"RecentsManager"
>
<key
name=
"CopyFile.RECENT_KEYS"
>
<recent
name=
"D:\HIAST Library\Teaching\ADS\2025\HAProxy\New folder\simple-web-app\src\haproxy"
/>
</key>
</component>
<component
name=
"RunManager"
>
<component
name=
"RunManager"
>
<configuration
default=
"true"
type=
"JetRunConfigurationType"
>
<configuration
default=
"true"
type=
"JetRunConfigurationType"
>
<module
name=
"simple-web-app"
/>
<module
name=
"simple-web-app"
/>
...
@@ -80,7 +83,15 @@
...
@@ -80,7 +83,15 @@
<option
name=
"project"
value=
"LOCAL"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1740307109999
</updated>
<updated>
1740307109999
</updated>
</task>
</task>
<option
name=
"localTasksCounter"
value=
"2"
/>
<task
id=
"LOCAL-00002"
summary=
"add haproxy cfg"
>
<option
name=
"closed"
value=
"true"
/>
<created>
1740310829735
</created>
<option
name=
"number"
value=
"00002"
/>
<option
name=
"presentableId"
value=
"LOCAL-00002"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1740310829735
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"3"
/>
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"Vcs.Log.Tabs.Properties"
>
<component
name=
"Vcs.Log.Tabs.Properties"
>
...
@@ -96,6 +107,7 @@
...
@@ -96,6 +107,7 @@
</component>
</component>
<component
name=
"VcsManagerConfiguration"
>
<component
name=
"VcsManagerConfiguration"
>
<MESSAGE
value=
"simple web app"
/>
<MESSAGE
value=
"simple web app"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"simple web app"
/>
<MESSAGE
value=
"add haproxy cfg"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"add haproxy cfg"
/>
</component>
</component>
</project>
</project>
\ No newline at end of file
src/haproxy/haproxy1.cfg
View file @
e2d9ba2c
global
maxconn 512
defaults
mode http
timeout connect 10s
timeout client 30s
timeout server 30s
#192.168.26.149
frontend http_front
bind *:80
default_backend http_back
backend http_back
balance roundrobin
server server01 192.168.26.149:9090
server server02 192.168.26.149:9091
server server03 192.168.26.149:9092
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment