sneakerpeet
Verified User
I'm planning to relieve some static-file and media-file stress from Apache and put Varnish into action as a cache in front of Apache.
Now I am looking for ways to keep using DirectAdmin for the Apache configuration, but have all the sites run on 127.0.0.1 and port 8000 (or some other arbitrary port). This way Varnish takes the heat on port 80 of the sites and reroutes the 'smart' calls to Apache, and all the mediafiles come out of it's cache.
I did notice the warnings in the domain-config files to not touch them, because DirectAdmin will overwrite them. How should one pull this off?
Anyone got an idea?
Now I am looking for ways to keep using DirectAdmin for the Apache configuration, but have all the sites run on 127.0.0.1 and port 8000 (or some other arbitrary port). This way Varnish takes the heat on port 80 of the sites and reroutes the 'smart' calls to Apache, and all the mediafiles come out of it's cache.
I did notice the warnings in the domain-config files to not touch them, because DirectAdmin will overwrite them. How should one pull this off?
Anyone got an idea?