Symlink is cached when deploying Laravel Octane #2577
Unanswered
cerbero90
asked this question in
Help needed
Replies: 1 comment 5 replies
-
@cerbero90 this is not a deployer problem.
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everybody, a standard Laravel app can be run on an NGINX FastCGI server, however an Octane app needs a reverse proxy.
In a FastCGI server we can avoid the cache of the symlink pointing to the new release by using the following directives:
That is not possible in an NGINX reverse proxy and the symlink is getting cached, pointing to an old release.
Is there a way to avoid the symlink cache in an NGINX reverse proxy?
Thanks in advance for your help, this is how the NGINX config looks like:
Beta Was this translation helpful? Give feedback.
All reactions