From ebb1513c92c00168c62d99eedd42169b10553f94 Mon Sep 17 00:00:00 2001 From: Marcin Niemiec <17719543+xvnpw@users.noreply.github.com> Date: Fri, 6 Dec 2024 15:43:58 +0100 Subject: [PATCH] Update FLASK-o1-preview.md --- examples/FLASK-o1-preview.md | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/examples/FLASK-o1-preview.md b/examples/FLASK-o1-preview.md index 59675fc..9b170f5 100644 --- a/examples/FLASK-o1-preview.md +++ b/examples/FLASK-o1-preview.md @@ -167,19 +167,18 @@ Selected Deployment Architecture: ```mermaid C4Deployment -title Flask Application Deployment Diagram - -Deployment_Node(host_server, "Host Server") { - Deployment_Node(nginx, "Nginx", "Reverse Proxy Server with SSL/TLS") { - Container(web_server, "Nginx", "Reverse Proxy", "Handles incoming HTTPS requests") - } - Deployment_Node(gunicorn, "Gunicorn", "WSGI Server") { - Container(flask_app, "Flask Application", "Python", "Runs the Flask application") - } -} - -Rel(client_browser, web_server, "Sends requests to", "HTTPS") -Rel(web_server, flask_app, "Proxies requests to", "WSGI") + title Flask Application Deployment Diagram + + Deployment_Node(host_server, "Host Server") { + Deployment_Node(nginx, "Nginx", "Reverse Proxy Server with SSL/TLS") { + Container(web_server, "Nginx", "Reverse Proxy", "Handles incoming HTTPS requests") + } + Deployment_Node(gunicorn, "Gunicorn", "WSGI Server") { + Container(flask_app, "Flask Application", "Python", "Runs the Flask application") + } + } + + Rel(web_server, flask_app, "Proxies requests to", "WSGI") ``` ### Elements of Deployment Diagram