• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Question Questions about Varnish in docker

fd_paz

Basic Pleskian
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:
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
 
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:
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
i didn't give you any idea on this,
 
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:
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
i will mention a friend of mine. i think he will help you.
 
Back
Top