Apache2 Ubuntu Обратный прокси не работает.

Мой Apache2 VirtualHost.conf

<VirtualHost *:80>
ProxyPreserveHost On
ProxyRequests On
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
ProxyPass / http://38.242.235.101:1025/
ProxyPassReverse / http://38.242.235.101:1025/
<Location />
Order allow,deny
Allow from all
</Location>
ServerName yt-scrape.harrystech.uk
RewriteEngine on
RewriteCond %{SERVER_NAME} =yt-scrape.harrystech.uk
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

Мой Apache2 Proxy.conf

«`

ProxyRequests On

Разрешить, запретить
Разрешить от всех

ProxyVia On

«`

Оцените статью
Procodings.ru
Добавить комментарий