Add NGINX headers
@@ -56,8 +56,10 @@ server {
add_header X-RTD-Path $rtd_path always;
set $rtd_domain $upstream_http_x_rtd_domain;
add_header X-RTD-Domain $rtd_domain always;
- set $rtd_method $upstream_http_x_rtd_version_method;
- add_header X-RTD-Version-Method $rtd_method always;
+ set $rtd_version_method $upstream_http_x_rtd_version_method;
+ add_header X-RTD-Version-Method $rtd_version_method always;
+ set $rtd_project_method $upstream_http_x_rtd_project_method;
+ add_header X-RTD-Project-Method $rtd_project_method always;
}
# Serve 404 pages here
