Hi,
I finally managed to install Varnish in docker in CentOS 8, but there are still some small problems:
- Sometimes when the server restarts, Varnish inside the docker does not restart and I have to start it manually. Is this normal? I also have Redis installed in docker, but this restarts itself when the server restarts.
- What is the best plugin for Wordpress to purge Varnish (version 7)? I've tried several, but couldn't get them to work. What is the right plugin for version 7?
- In the "Additional nginx directives" I have this code which gives problems when I activate Varnish:
How do i need to modify it to work with Varnish?
Thanks in advance
I finally managed to install Varnish in docker in CentOS 8, but there are still some small problems:
- Sometimes when the server restarts, Varnish inside the docker does not restart and I have to start it manually. Is this normal? I also have Redis installed in docker, but this restarts itself when the server restarts.
- What is the best plugin for Wordpress to purge Varnish (version 7)? I've tried several, but couldn't get them to work. What is the right plugin for version 7?
- In the "Additional nginx directives" I have this code which gives problems when I activate Varnish:
Code:
# WORDPRESS PERMALINKS
if (!-e $request_filename) {
rewrite ^(.+)$ /index.php last;
}
How do i need to modify it to work with Varnish?
Thanks in advance