Skip to content

get transformation args with underscore#76

Open
a-salimkhanov wants to merge 1 commit into
agschwender:masterfrom
a-salimkhanov:patch-1
Open

get transformation args with underscore#76
a-salimkhanov wants to merge 1 commit into
agschwender:masterfrom
a-salimkhanov:patch-1

Conversation

@a-salimkhanov

Copy link
Copy Markdown

Useful when you are proxying requsts from NGINX, like

location ~ "^/image/(?<tr_options>[^/]+)/(?<image>.+)$" {
    proxy_pass http://localhost:8888/?url=http://backend/$image&transformation=$tr_options;
}

So you can have img links like:
http://example.com/image/w_300,h_100/some.png

Useful when you are proxying requsts from NGINX, like
location ~ "^/image/(?<tr_options>[^/]+)/(?<image>.+)$" {
    proxy_pass http://localhost:8888/?url=http://backend/$image&transformation=$tr_options;
}
So you can have img links like:
http://example.com/image/w_300,h_100/some.png
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+3.08%) to 98.932% when pulling 250102e on a-salimkhanov:patch-1 into d05d1c0 on agschwender:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants