How to solve Nginx rewrite error? #888
Unanswered
dirkclemens
asked this question in
Ask a question
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear all,
I am running the latest Yellow cms with Ubuntu Server 22.04, Nginx 1.18.0, php 8.1 and php8.1-fpm and all necessary php extensions installed.
Even with exact code snippet taken from "Problems with Nginx" (https://datenstrom.se/yellow/help/troubleshooting#problems-with-nginx) and reading http://nginx.org/en/docs/http/ngx_http_rewrite_module.html (and Stackoverflow among others) I still get the error message "Datenstrom Yellow requires rewrite support! See troubleshooting."
My "nginx.conf" (I am using virtual hosts with nginx) contains the code with a small change, because
fastcgi_pass 127.0.0.1:9000;
thows an error, so I changed it tofastcgi_pass unix:/run/php/php8.1-fpm.sock;
(which exists in this folder).I also added the following line to my nginx.conf
but no error is logged there.
http://localhost/info.php works fine for sure
Any help appreciated, thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions