-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
How do you add a secret file for terminal control? #6
Comments
Hi @johnbburg - Maybe you can give a litle more context, including a link to the relevant varnish doc, and say more about what you're trying to accomplish. |
Hi, thanks for the quick reply. So from https://varnish-cache.org/docs/6.0/reference/varnishadm.html -S secretfile Basically I'm testing the invalidation process in my app, and it requires that secret for authentication. |
I may have figured out, it should be
Though now I'm confused where I got this command line in docker-compose, since it wasn't there according to this repo... |
It sounds like you have it working now, if so, you might consider a PR to add that info to the README, or consider closing this. It also may be reasonable just to do a PR that adds that and adds a "secret" file, and puts the info in the README? |
I've been struggling a bit with this, but the only way I managed was by creating a file named "secret" in .ddev/varnish folder, pasted the key on one line, gave the 0600 permissions and then ran ddev restart. That worked for me. |
I just tried creating one in the volume in varnish/ and just using "secret" as a value. But my application doesn't seem to get authorization this way.
The text was updated successfully, but these errors were encountered: