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

Add multi mapping support via header #1187

Merged
merged 1 commit into from Aug 10, 2017

Conversation

Projects
None yet
2 participants
@yoshuki
Contributor

yoshuki commented Jul 3, 2017

nignx sets "HTTP_X_ACCEL_MAPPING" from multi mappings to comma splited string.
like,

proxy_set_header X-Accel-Mapping /var/www1/=/files1/;
proxy_set_header X-Accel-Mapping /var/www2/=/files2/;

to

'/var/www1/=/files1/, /var/www2/=/files2/'

@tenderlove tenderlove merged commit cb00d24 into rack:master Aug 10, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment