jrwren | anyone good with nginx? | 13:11 |
---|---|---|
jrwren | how do I use parts of a location in a url to proxy pass. in apache, I would | 13:11 |
jrwren | use a rewriterule /a/b/(.*)/(\d+)/(.*) wss://\$1:\$2/a/\$3/b [P,L] | 13:11 |
cmaloney | http://serverfault.com/questions/379675/nginx-reverse-proxy-url-rewrite | 13:16 |
cmaloney | jrwren: ^^ | 13:16 |
cmaloney | what is wss:// ? | 13:17 |
cmaloney | Ah, wikipedia enlightened me | 13:18 |
jrwren | cmaloney: so the problem with that is the regex groups aren't used in the proxy_pass target. | 13:18 |
jrwren | I guess that is the real question, how to use location regex groups in a proxy_pass target? | 13:19 |
cmaloney | They're part of the rewrite | 13:25 |
cmaloney | so you pass along the rewrite via proxy_pass | 13:26 |
jrwren | I JUST found this: http://stackoverflow.com/questions/29497992/nginx-location-regex-not-working looks like a good example. | 13:29 |
jrwren | THANKS! | 13:29 |
cmaloney | np | 13:31 |
jcastro | jrwren: what are you working on? | 13:36 |
jcastro | I just set up an nginx transparent proxy | 13:36 |
jcastro | but I am devops so I just used a third party docker container blob without checking it. | 13:37 |
jrwren | jcastro: 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.com | 13:37 |
* jrwren throws up. | 13:37 | |
jcastro | for like performance or something? | 13:39 |
jrwren | yes, my hypothesis is that it will speed page load time. | 13:40 |
cmaloney | This is why I <3 Pebble: https://medium.com/pebble-research/opening-the-black-box-publishing-pebbles-activity-tracking-algorithms-bebdb5a7383a#.ez44jy923 | 16:40 |
cmaloney | https://medium.com/pebble-research | 16:41 |
cmaloney | https://youtu.be/_ZBKX-6Gz6A | 16:59 |
cmaloney | http://io9.gizmodo.com/transformers-the-movie-is-finally-coming-to-blu-ray-fo-1781557384 | 20:39 |
jrwren | SWEET! | 20:40 |
jrwren | YOU GOT THE TOUCH!!! | 20:40 |
cmaloney | Just happend to see that in my travels | 21:06 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!