Using caddy to static site
gsiniguez
PROOP

6 months ago

Im using caddy to render a static site, how can i round robin to multiple instances?
Caddy code:
:{$PORT} {
# access logs
log {
format json # set access log format to json mode
}

root * /srv
file_server

}

Solved

10 Replies

gsiniguez
PROOP

6 months ago

46709c8f-8332-4569-9eb1-2232adab61a6


brody
EMPLOYEE

6 months ago


gsiniguez
PROOP

6 months ago

Hi brody thanks, but how can i do to static and not a reverse proxy?


brody
EMPLOYEE

6 months ago

You asked how to round robin to multiple instances. Doing so does not come into play with a static site.


gsiniguez
PROOP

6 months ago

Multiple instances rendering the same static site not need config for use all instances?


brody
EMPLOYEE

6 months ago

Can you share why you want multiple instances for a single static site?


gsiniguez
PROOP

6 months ago

I need my static site to support up to 50,000 users, scaling horizontally. I know this is off-topic, but it's the problem I'm trying to address with Caddy.


gsiniguez
PROOP

6 months ago

500-1000/user p/sec


brody
EMPLOYEE

6 months ago

I don't see why Caddy couldn't handle that on a single instance, it is just static files after all.


brody
EMPLOYEE

6 months ago

!s


Status changed to Solved brody 6 months ago


Loading...