Issue with SSI in Docker + Nginx + Swoole with Symfony #54870
Unanswered
MeshkovaNatalia
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use Server Side Includes (SSI) in my Symfony project, which is running in a Docker environment with Nginx as a proxy server and Swoole as a PHP extension. The problem is that SSI render requests aren't happening when using Swoole, although everything works fine with FastCGI Process Manager (FPM).
Problem Description: I have SSI enabled in my Symfony configuration file:
In my Twig template, I'm using render_ssi to call a Symfony controller:
{{ render_ssi(controller('my.app.controller::appAction')) }}
When requesting a page that contains this SSI, no render requests are happening in Swoole.
Nginx Configuration: Here's my Nginx configuration file:
What I've Tried:
Verified that SSI works with FPM.
Tried changing various Nginx configuration parameters, but it didn't solve the issue.
Expected Outcome: I expect render requests for SSI to work successfully through Swoole.
Question: Are there any additional configuration settings needed to support SSI with Swoole in my Docker + Nginx + Swoole environment with Symfony?
Beta Was this translation helpful? Give feedback.
All reactions