Hi, We are planning releasing a new web site shortly and we try to get slash-dotted. Our website is hosted with nginx, but I currently set the images of the main page on amazon S3 as it won't be able to serve them if we get slash-dotted as planned. To lower our cost, is there a way to tell nginx to serve for index.html another file like index_local.html file when the load of the server is low and to serve index_aws.html when the load is high? index_local.html would contain URL for images and an applet to the same nginx file server but index_aws.html will set URL for them to S3. If that is not possible, is there another way to do that? I don't want to manually do the switch as we never know when the crowd come. thanks Frdric
on 2013-02-22 21:22
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.