-
Notifications
You must be signed in to change notification settings - Fork 549
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
Passenger trying to create NGX_HTTP_PROXY_TEMP_PATH
folder.
#2075
Comments
I actually submitted an easy PR #2074 to fix this. |
Thanks for that, we'll review this as soon as we can. In the meantime could you sign the contributor agreement. |
Already signed |
Thanks for submitting the pull request @ROMB. I'm wondering what other effects there are of removing that code. What will happen to the buffering behavior on the Nginx side? |
I don't really know, not that much expert in nginx. If this variable and folder actually needed for buffering to work, than someone need to make that folder configurable setting, which I will not be able to do because of lack of experience. |
Somebody just make this configurable please, as other passenger settings. |
@ROMB are you comfortable building passenger from source to test out a config option? It seems to work for me, but I'd like more eyes on it. |
I just wanted to ask whether there is any work-around for this problem? Background: After upgrading, I cannot start nginx (1.17.6) with passenger (6.0.4) because it tries to create this subdirectory, but I don't have a nginx: [emerg] mkdir() "/usr/local/var/run/nginx/proxy_temp" failed (2: No such file or directory) Setting |
@halo I've build passenger from sources using patch provided in mentioned PR,
unfortunately that's the only option for now.
@CamJN can provide you with better patch to test, which makes this folder
configurable.
Additionally patch mentioned earlier should be included into 6.0 stable, so that's another better workaround, just install passenger 6.0+
|
Yes, the HEAD of the repo already has the patch merged, or you can apply the patch at https://github.com/phusion/passenger/commit/e512231f.patch?full_index=1 to 6.0.4. Then the option to configure is called |
The module creates a folder which is not used by Passenger, even when nginx configuration overrides
NGX_HTTP_PROXY_TEMP_PATH
.configuration slice:
strace log:
probably caused by
src/nginx_module/Configuration.c
line 64:The text was updated successfully, but these errors were encountered: