Interesting, thanks jggimi, a couple of things learned here, 1. never assume anything. ( I was just assuming the OP is using OpneBsd 6.5 , should have asked about that. Also a lot of the information I linked to is really old, and I did not think it would matter much , but apparently it does,
@jonsec, please do let us know if it works after upgrading. I see on your first post you say it is solved,
Quote:
Originally Posted by jonsec
hi. i cant set fastcgi param and i get syntax error.
httpd.conf
Code:
prefork 10
server "test.example.com" {
...
location match "^.+%.php$" {
fastcgi socket "/run/php-fpm-example"
fastcgi param HTTP_HOST "test.example.com" <--- syntax error
}
...
}
---------------------------------[Solved]
answer : httpd in OpenBSD 6.4 not support fastcgi param syntax.
|
Did you try it yet on 6.5 ?
Thanks