Получить редирект через reverse proxy
5 USDНеобходимо получить ссылку редиректа используя reverse proxy.
Используется ubuntu и apache.
Нужно правило в стиле:
<LocationMatch "/get_redirect/https?://(.*)">
</LocationMatch>
То есть, обращаемся по адресу:
~ServerIP~ /get_redirect/ ~Url~ в теле получаем ~Redirect~
xxx.xxx.xxx.xxx/get_redirect/http://alexeygrek.com в теле получаем https://alexeygrek.com/ru/
-
48 3 0 Для nginx это делается достаточно легко, если я верно понял задачу. Готов дать ссылку для проверки в личку.
Current freelance projects in the category Linux & Unix
Deployment of a Ruby on Rails project on VPS + Inbound Email RoutingNeed help deploying a platform for automating requests for public information (based on the open-source engine Alaveteli). The project works as a mail router: it generates unique email addresses for each request, sends them to government agencies, and receives responses back to… DevOps, Linux & Unix ∙ 5 days 22 hours back ∙ 11 proposals |