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

wardenenv/images#719 - Add PHP-SPX image build #17

Merged
merged 3 commits into from
Aug 6, 2024

Conversation

bap14
Copy link
Member

@bap14 bap14 commented Jan 29, 2024

Adds a new SPX image build. Adjusts Nginx configuration to route requests to the SPX container (similar to Xdebug), and prevents Varnish from caching SPX requests.

@@ -2,12 +2,17 @@
resolver 127.0.0.11;

# Select upstream backend to use based on presense of Xdebug cookies and Blackfire headers
map "$http_X_BLACKFIRE_QUERY:$cookie_XDEBUG_SESSION$cookie_XDEBUG_PROFILE$cookie_XDEBUG_TRACE$arg_XDEBUG_SESSION$arg_XDEBUG_SESSION_START" $fastcgi_backend {
map "$http_X_BLACKFIRE_QUERY:$cookie_XDEBUG_SESSION$cookie_XDEBUG_PROFILE$cookie_XDEBUG_TRACE$arg_XDEBUG_SESSION$arg_XDEBUG_SESSION_START:$cookie_SPX_ENABLED$cookie_SPX_KEY$arg_SPX_ENABLED$arg_SPX_KEY$arg_SPX_UI_URI" $fastcgi_backend {
volatile;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@navarr I was having issues with cookies not being respected; however, it could have been because of Varnish caching the requests. This line shouldn't need to be there.

@MagePsycho
Copy link

What's the status of this PR? @navarr

@navarr
Copy link
Member

navarr commented Mar 21, 2024

@MagePsycho held up until at minimum I fix PHP images not building

@navarr navarr merged commit 833af28 into wardenenv:main Aug 6, 2024
@ihor-sviziev
Copy link
Contributor

@bap14, is there instruction how to use this image? :)

@bap14
Copy link
Member Author

bap14 commented Nov 5, 2024

@ihor-sviziev Not yet; however, now that the image is there it can move forward in being a toggled feature for projects.

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

Successfully merging this pull request may close these issues.

4 participants