/srv/irclogs.ubuntu.com/2016/06/09/#ubuntu-us-mi.txt

jrwrenanyone good with nginx?13:11
jrwrenhow do I use parts of a location in a url to proxy pass. in apache, I would13:11
jrwren                 use a rewriterule /a/b/(.*)/(\d+)/(.*) wss://\$1:\$2/a/\$3/b [P,L]13:11
cmaloneyhttp://serverfault.com/questions/379675/nginx-reverse-proxy-url-rewrite13:16
cmaloneyjrwren: ^^13:16
cmaloneywhat is wss:// ?13:17
cmaloneyAh, wikipedia enlightened me13:18
jrwrencmaloney: so the problem with that is the regex groups aren't used in the proxy_pass target.13:18
jrwrenI guess that is the real question, how to use location regex groups in a proxy_pass target?13:19
cmaloneyThey're part of the rewrite13:25
cmaloneyso you pass along the rewrite via proxy_pass13:26
jrwrenI JUST found this: http://stackoverflow.com/questions/29497992/nginx-location-regex-not-working  looks like a good example.13:29
jrwrenTHANKS!13:29
cmaloneynp13:31
jcastrojrwren: what are you working on?13:36
jcastroI just set up an nginx transparent proxy13:36
jcastrobut I am devops so I just used a third party docker container blob without checking it.13:37
jrwrenjcastro: well, nothing now, becuase I realize the host i was going to do this with is trusty not xenial, so no http2, but I was going to follow up on seeing how running on http2 helps jujucharms.com13:37
* jrwren throws up.13:37
jcastrofor like performance or something?13:39
jrwrenyes, my hypothesis is that it will speed page load time.13:40
cmaloneyThis is why I <3 Pebble: https://medium.com/pebble-research/opening-the-black-box-publishing-pebbles-activity-tracking-algorithms-bebdb5a7383a#.ez44jy92316:40
cmaloneyhttps://medium.com/pebble-research16:41
cmaloneyhttps://youtu.be/_ZBKX-6Gz6A16:59
cmaloneyhttp://io9.gizmodo.com/transformers-the-movie-is-finally-coming-to-blu-ray-fo-178155738420:39
jrwrenSWEET!20:40
jrwrenYOU GOT THE TOUCH!!!20:40
cmaloneyJust happend to see that in my travels21:06

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!