Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P853
Target staging reverse proxy
Active
Public
Actions
Authored by
ardumont
on Nov 4 2020, 3:39 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
@startuml
title Staging Reverse Proxy
participant User
box "Firewall" #Orange
participant fw
note over fw: NAT between vlan \n1300 (public) addresses \nto vlan 443 (staging)
end box
box "1 global reverse proxy" #LightGreen
participant FrontendHitch
participant Varnish
end box
box "1 node per service (webapp, deposit)" #LightBlue
participant Apache
participant Gunicorn
end box
activate fw
User -> FrontendHitch: https queries
activate FrontendHitch
FrontendHitch -> Varnish: forwards query
note left: ssl termination
activate Varnish
alt #transparent cache hit
Varnish -> FrontendHitch: returns result
FrontendHitch --> User: returns result
else cache missed
Varnish -> Apache: forwards query
activate Apache
Apache -> Gunicorn: forwards query
activate Gunicorn
Gunicorn --> Apache: returns result
deactivate Gunicorn
Apache --> Varnish: caches and returns result
deactivate Apache
Varnish -> FrontendHitch: returns result
FrontendHitch --> User: returns result
deactivate Varnish
deactivate FrontendHitch
end
@enduml
Event Timeline
ardumont
created this paste.
Nov 4 2020, 3:39 PM
2020-11-04 15:39:44 (UTC+1)
ardumont
mentioned this in
T2747: Create the reverse proxy to expose the staging services publicly
.
Log In to Comment