Skip to content

Commit f682fcb

Browse files
explain how the stuff working
1 parent 0dece64 commit f682fcb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/source/guides/architecture/orchestrator.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,13 @@ needed.
3535

3636
When updating the Nginx config, the orchestrator first moves the old configuration into
3737
``site-{site-id}.conf.bak``. Only if that succeeds will it write the new configuration.
38+
39+
Hosting a website
40+
-----------------
41+
When creating a site, the manager sends a request to the orchestrator to generate a ``nginx.conf``
42+
configuration, which is then moved to ``/data/nginx/director.d/``. The ``nginx.conf`` running the balancer
43+
has a line that looks like::
44+
45+
include /data/nginx/director.d/*.conf
46+
47+
This is the magic line that actually hosts the sites on the internet.

0 commit comments

Comments
 (0)