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

Remove unused and unconfigurable temp_path directory #2074

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions src/nginx_module/Configuration.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ static ngx_str_t headers_to_hide[] = {

passenger_main_conf_t passenger_main_conf;

static ngx_path_init_t ngx_http_proxy_temp_path = {
ngx_string(NGX_HTTP_PROXY_TEMP_PATH), { 1, 2, 0 }
};


static ngx_int_t merge_headers(ngx_conf_t *cf, passenger_loc_conf_t *conf,
passenger_loc_conf_t *prev);
Expand Down Expand Up @@ -573,11 +569,6 @@ passenger_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
|NGX_HTTP_UPSTREAM_FT_OFF;
}

ngx_conf_merge_path_value(cf,
&conf->upstream_config.temp_path,
prev->upstream_config.temp_path,
&ngx_http_proxy_temp_path);

#if (NGX_HTTP_CACHE)

#if NGINX_VERSION_NUM >= 1007009
Expand Down