Httpd Подстановочный знак в местоположении?Apache

Гость
Httpd Подстановочный знак в местоположении?

Сообщение Гость »


Я пытаюсь передать свои запросы Apache через API flaskrestx.

Код: Выделить всё

ProxyPass http://my.company.com:8082/rest_api/hosts/(.*)/patchstatus
ProxyPassReverse http://my.company.com:8082/rest_api/hosts/(.*)/patchstatus

This always returns a 504 proxy error:

Код: Выделить всё


502 Proxy Error

Proxy Error
The proxy server received an invalid
response from an upstream server.

The proxy server could not handle the requestReason: [b]Error reading from remote server[/b]


The (.*) is a hostname that can change depending on what is passed. How do I properly route this request past the proxy?


Источник: https://stackoverflow.com/questions/781 ... n-location

Вернуться в «Apache»