Closed ssafhi closed 2 years ago
Solved
You need to add
location ~ .php$ { fastcgi_pass php-fpm:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PHP_VALUE "error_log=/var/log/nginx/application_php_errors.log"; fastcgi_buffers 16 16k; fastcgi_buffer_size 32k; include fastcgi_params; }
In the reverse proxy
Thanks
Dear
I tried to configure the server with nginx and it does not work and got 502 is there any needed headers?
Rgards