Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration file test failed #222

Open
cgiyo opened this issue Oct 12, 2024 · 1 comment
Open

Configuration file test failed #222

cgiyo opened this issue Oct 12, 2024 · 1 comment

Comments

@cgiyo
Copy link

cgiyo commented Oct 12, 2024

Hello. This is a question. I follow the instruction, but after alter the nginx.conf with
include rocket-nginx/conf.d/default.conf; I got error like this :

nginx: [emerg] "set" directive is not allowed here in /etc/nginx/rocket-nginx/conf.d/default.conf:19
nginx: configuration file /etc/nginx/nginx.conf test failed

Am I doing wrong? I using WP Rocket version is 3.17.0.2
FYI, I don’t see any configuration file under /etc/nginx/sites-available folder, only in /etc/nginx/sites-enabled folder my configuration file.

Thank you in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@cgiyo and others