Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

[HOWTO] FASTCGI CACHE WORDPRESS Topic is solved

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
14 posts
  • Previous
  • 1
  • 2
emlax
Posts: 4
Joined: Thu Apr 15, 2021 5:03 pm

Os: Ubuntu 17x
Web: nginx + php-fpm
Re: [HOWTO] FASTCGI CACHE WORDPRESS
  • Quote

Post by emlax » Thu Apr 15, 2021 6:02 pm

Hello. I am configured vestacp template by this instruction. But I have a few websites and I get a error after "nginx -t":
nginx: [emerg] "fastcgi_cache_key" directive is duplicate in /home/username/conf/web/BLABLA.COM.nginx.ssl.conf:2
nginx: configuration file /etc/nginx/nginx.conf test failed
how to fix it?
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: [HOWTO] FASTCGI CACHE WORDPRESS
  • Quote

Post by grayfolk » Thu Apr 15, 2021 6:23 pm

emlax wrote: ↑
Thu Apr 15, 2021 6:02 pm
Hello. I am configured vestacp template by this instruction. But I have a few websites and I get a error after "nginx -t":
nginx: [emerg] "fastcgi_cache_key" directive is duplicate in /home/username/conf/web/BLABLA.COM.nginx.ssl.conf:2
nginx: configuration file /etc/nginx/nginx.conf test failed
how to fix it?
Just remove duplicated directive.
Top

emlax
Posts: 4
Joined: Thu Apr 15, 2021 5:03 pm

Os: Ubuntu 17x
Web: nginx + php-fpm
Re: [HOWTO] FASTCGI CACHE WORDPRESS
  • Quote

Post by emlax » Thu Apr 15, 2021 7:49 pm

grayfolk wrote: ↑
Thu Apr 15, 2021 6:23 pm
Just remove duplicated directive.
I have 3 websites.
I just removed "fastcgi_cache_key "$scheme$request_method$host$request_uri";" from two websites. Fastcgi works only on one website!
Tell me please, How to enable fastcgi on every of my websites?
Top

emlax
Posts: 4
Joined: Thu Apr 15, 2021 5:03 pm

Os: Ubuntu 17x
Web: nginx + php-fpm
Re: [HOWTO] FASTCGI CACHE WORDPRESS
  • Quote

Post by emlax » Sat Apr 17, 2021 7:39 am

NGINX CACHE SNIPER don't works on my websites , I have last wp version
Top


Post Reply
  • Print view

14 posts
  • Previous
  • 1
  • 2

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password