Using caddy to static site
gsiniguez
PROOP

10 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

10 months ago

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


10 months ago


gsiniguez
PROOP

10 months ago

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


10 months ago

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


gsiniguez
PROOP

10 months ago

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


10 months ago

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


gsiniguez
PROOP

10 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

10 months ago

500-1000/user p/sec


10 months ago

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


10 months ago

!s


Status changed to Solved brody 10 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...