Commit e2d9ba2c authored by Mohamad Bashar Desoki's avatar Mohamad Bashar Desoki

add haproxy cfg1

parent 9095bcf4
......@@ -9,11 +9,7 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="ad904d3c-917a-41ec-8997-0c459fd2925c" name="Changes" comment="simple web app">
<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>
<list default="true" id="ad904d3c-917a-41ec-8997-0c459fd2925c" name="Changes" comment="add haproxy cfg" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
......@@ -41,13 +37,20 @@
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"RunOnceActivity.ShowReadmeOnStart": "true",
"SHARE_PROJECT_CONFIGURATION_FILES": "true",
"git-widget-placeholder": "master",
"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.proportion": "0.15",
"project.structure.side.proportion": "0.2850575"
}
}]]></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">
<configuration default="true" type="JetRunConfigurationType">
<module name="simple-web-app" />
......@@ -80,7 +83,15 @@
<option name="project" value="LOCAL" />
<updated>1740307109999</updated>
</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 />
</component>
<component name="Vcs.Log.Tabs.Properties">
......@@ -96,6 +107,7 @@
</component>
<component name="VcsManagerConfiguration">
<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>
</project>
\ No newline at end of file
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment