<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>Аспро: ЛайтШоп [тема: Проксирование Proxmox через Apache?]</title>
		<link>http://proxmox.su</link>
		<description>Новое в теме Проксирование Proxmox через Apache? форума Proxmox Виртуальная Среда на сайте Аспро: ЛайтШоп [proxmox.su]</description>
		<language>ru</language>
		<docs>http://backend.userland.com/rss2</docs>
		<pubDate>Sat, 11 Jul 2026 07:45:18 +0300</pubDate>
		<item>
			<title>Проксирование Proxmox через Apache?</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message336355/79255-proksirovanie-proxmox-cherez-apache">Проксирование Proxmox через Apache?</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			Отлично!! Работает как по маслу! <br />
			<i>21.03.2024 22:44:00, fredkruger.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message336355/79255-proksirovanie-proxmox-cherez-apache</link>
			<guid>http://proxmox.su/forum/messages/forum63/message336355/79255-proksirovanie-proxmox-cherez-apache</guid>
			<pubDate>Thu, 21 Mar 2024 22:44:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
		<item>
			<title>Проксирование Proxmox через Apache?</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message336354/79255-proksirovanie-proxmox-cherez-apache">Проксирование Proxmox через Apache?</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			Отредактируйте файл /etc/apache2/sites-enabled/000-default.conf:<br /><br />```<br />&lt;VirtualHost *:80&gt;<br /> &nbsp; &nbsp; &nbsp; &nbsp;Redirect "/" "https://yourservername/"<br /> &nbsp; &nbsp; &nbsp; &nbsp;ErrorLog ${APACHE_LOG_DIR}/error.log<br /> &nbsp; &nbsp; &nbsp; &nbsp;CustomLog ${APACHE_LOG_DIR}/access.log combined<br />&lt;/VirtualHost&gt;<br /><br />&lt;VirtualHost *:443&gt;<br /> &nbsp; &nbsp; &nbsp; &nbsp;SSLEngine on<br /> &nbsp; &nbsp; &nbsp; &nbsp;SSLProxyEngine on<br /> &nbsp; &nbsp; &nbsp; &nbsp;SSLCertificateFile /etc/pve/nodes/pve/pve-ssl.pem<br /> &nbsp; &nbsp; &nbsp; &nbsp;SSLCertificateKeyFile /etc/pve/nodes/pve/pve-ssl.key<br /> &nbsp; &nbsp; &nbsp; &nbsp;ProxyPass / <noindex><a href="https://localhost:8006/" target="_blank" rel="nofollow" >https://localhost:8006/</a></noindex><br /> &nbsp; &nbsp; &nbsp; &nbsp;ProxyPassReverse / <noindex><a href="https://localhost:8006/" target="_blank" rel="nofollow" >https://localhost:8006/</a></noindex><br /> &nbsp; &nbsp; &nbsp; &nbsp;&lt;LocationMatch ^/(api2/json/nodes/[^\/]+/[^\/]+/[^\/]+/vncwebsocket.*)$&gt;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ProxyPass wss://localhost:8006/$1 retry=0<br /> &nbsp; &nbsp; &nbsp; &nbsp;&lt;/LocationMatch&gt;<br /> &nbsp; &nbsp; &nbsp; &nbsp;&lt;Location /websockify&gt;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ProxyPass ws://localhost:8006<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ProxyPassReverse ws://localhost:8006<br /> &nbsp; &nbsp; &nbsp; &nbsp;&lt;/Location&gt;<br /> &nbsp; &nbsp; &nbsp; &nbsp;ErrorLog ${APACHE_LOG_DIR}/error.log<br /> &nbsp; &nbsp; &nbsp; &nbsp;CustomLog ${APACHE_LOG_DIR}/access.log combined<br />&lt;/VirtualHost&gt;<br />```<br /><br />В вышеприведённой конфигурации мы перенаправляем запросы на порт 80 на порт 443 (https). SSL-сертификаты те же, что используются в веб-интерфейсе PVE. Будьте внимательны! Папка /etc/pve/nodes/pve может иметь другое имя на вашей машине, в зависимости от имени вашего узла. Также замените <noindex><a href="https://yourservername/" target="_blank" rel="nofollow" >https://yourservername/</a></noindex> на правильное доменное имя вашего сервера. С помощью ProxyPass[Reverse] мы прозрачно перенаправляем трафик на/из порта 8006. Папка /etc/pve/nodes/pve не существует, пока PVE не запустится, поэтому служба Apache не сможет запуститься, если вы не настроите зависимость systemd.<br /><br />Отредактируйте файл /etc/systemd/system/multi-user.target.wants/apache2.service и добавьте pveproxy.service в строку After:<br /><br />```<br />After=network.target remote-fs.target nss-lookup.target pveproxy.service<br />```<br /><br />Если вы этого ещё не сделали, включите эти модули в Apache:<br /><br />```<br />a2enmod proxy<br />a2enmod ssl<br />```<br /><br />Затем перезапустите Apache:<br /><br />```<br />systemctl deamon-reload<br />systemctl restart<br />```<br /><br />Примечание: Я разобрался с noVNC благодаря этому посту: <noindex><a href="https://forum.proxmox.com/threads/working-novnc-with-reverse-proxy-on-5-1.43644/" target="_blank" rel="nofollow" >https://forum.proxmox.com/threads/working-novnc-with-reverse-proxy-on-5-1.43644/</a></noindex> <br />
			<i>30.09.2023 04:24:00, teclab-at.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message336354/79255-proksirovanie-proxmox-cherez-apache</link>
			<guid>http://proxmox.su/forum/messages/forum63/message336354/79255-proksirovanie-proxmox-cherez-apache</guid>
			<pubDate>Sat, 30 Sep 2023 04:24:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
		<item>
			<title>Проксирование Proxmox через Apache?</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message336353/79255-proksirovanie-proxmox-cherez-apache">Проксирование Proxmox через Apache?</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			У меня до сих пор не получается разобраться с этим, буду очень благодарен, если кто-нибудь сможет помочь или поделится конфигом для apache2 reverse proxy. <br />
			<i>10.01.2023 14:33:00, pikzigmar.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message336353/79255-proksirovanie-proxmox-cherez-apache</link>
			<guid>http://proxmox.su/forum/messages/forum63/message336353/79255-proksirovanie-proxmox-cherez-apache</guid>
			<pubDate>Tue, 10 Jan 2023 14:33:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
		<item>
			<title>Проксирование Proxmox через Apache?</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message336352/79255-proksirovanie-proxmox-cherez-apache">Проксирование Proxmox через Apache?</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			UdoB: Посмотрел конфиг от jamescoyle, но выглядит как очень простой обратный прокси. Думаю, что эта часть мне подходит, так как GUI доступен. (<noindex><a href="https://www.jamescoyle.net/how-to/923-reverse-proxy-proxmox-with-apache" target="_blank" rel="nofollow" >https://www.jamescoyle.net/how-to/923-reverse-proxy-proxmox-with-apache</a></noindex>) gratuxri: Попробовал поменять ws на wss в обоих конфигах, которые я выкладывал, но изменений нет. GUI работает, а VNC/shells отключаются. <br />
			<i>05.01.2023 12:06:00, pikzigmar.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message336352/79255-proksirovanie-proxmox-cherez-apache</link>
			<guid>http://proxmox.su/forum/messages/forum63/message336352/79255-proksirovanie-proxmox-cherez-apache</guid>
			<pubDate>Thu, 05 Jan 2023 12:06:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
		<item>
			<title>Проксирование Proxmox через Apache?</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message336351/79255-proksirovanie-proxmox-cherez-apache">Проксирование Proxmox через Apache?</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			Пожалуйста, попробуй заменить ws:// на wss:// <br />
			<i>05.01.2023 11:55:00, gratuxri.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message336351/79255-proksirovanie-proxmox-cherez-apache</link>
			<guid>http://proxmox.su/forum/messages/forum63/message336351/79255-proksirovanie-proxmox-cherez-apache</guid>
			<pubDate>Thu, 05 Jan 2023 11:55:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
		<item>
			<title>Проксирование Proxmox через Apache?</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message336350/79255-proksirovanie-proxmox-cherez-apache">Проксирование Proxmox через Apache?</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			Извини, Apache здесь нет: я использую nginx для общего доступа к моему кластеру с round-robin. Документацию, которой я следовал, можно найти здесь: <noindex><a href="https://www.jamescoyle.net/how-to/1...gui-with-nginx-over-https-with-load-balancing" target="_blank" rel="nofollow" >https://www.jamescoyle.net/how-to/1...gui-with-nginx-over-https-with-load-balancing</a></noindex>. Там также есть версия для Apache, написанная тем же автором, так что я ожидал, что и это будет работать. Может, там найдется подсказка. Удачи. <br />
			<i>05.01.2023 11:21:00, UdoB.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message336350/79255-proksirovanie-proxmox-cherez-apache</link>
			<guid>http://proxmox.su/forum/messages/forum63/message336350/79255-proksirovanie-proxmox-cherez-apache</guid>
			<pubDate>Thu, 05 Jan 2023 11:21:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
		<item>
			<title>Проксирование Proxmox через Apache?</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message336349/79255-proksirovanie-proxmox-cherez-apache">Проксирование Proxmox через Apache?</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			Привет, я перепробовал разные настройки, и они работают, в той или иной степени. У кого-нибудь есть конфиг, где консоли/shell доступны через обратный прокси? Я пробовал:<br /><br />```<br />&lt;VirtualHost *:443&gt;<br /><br /> &nbsp;ServerName prox.atsome.where<br /> &nbsp;ServerAdmin my@mail.com<br /><br /> &nbsp;RequestHeader unset Accept-Encoding<br /><br /> &nbsp; &nbsp;ProxyRequests &nbsp; &nbsp; &nbsp; &nbsp; Off<br /> &nbsp; &nbsp;ProxyPreserveHost &nbsp; &nbsp; On<br /> &nbsp; &nbsp;SSLProxyEngine &nbsp; &nbsp; &nbsp; &nbsp; On<br /> &nbsp; &nbsp;SSLProxyVerify &nbsp; &nbsp; &nbsp; &nbsp;none<br /> &nbsp; &nbsp;SSLProxyCheckPeerCN &nbsp; &nbsp;off<br /> &nbsp; &nbsp;SSLProxyCheckPeerExpire &nbsp; &nbsp;off<br /><br /> &nbsp;ErrorLog ${APACHE_LOG_DIR}/prox-error.log<br /> &nbsp;CustomLog ${APACHE_LOG_DIR}/prox-access.log combined<br /><br /> &nbsp;SSLEngine on<br /> &nbsp;SSLCertificateFile /certbot/fullchain.pem<br /> &nbsp;SSLCertificateKeyFile /certbot/privkey.pem<br /><br /> &nbsp;ProxyPreserveHost On<br /> &nbsp;ProxyPass / <noindex><a href="https://X.Y.Z.10:8006/" target="_blank" rel="nofollow" >https://X.Y.Z.10:8006/</a></noindex><br /> &nbsp;ProxyPassReverse / <noindex><a href="https://X.Y.Z.10:8006/" target="_blank" rel="nofollow" >https://X.Y.Z.10:8006/</a></noindex><br /><br /> &nbsp;RewriteEngine on<br /> &nbsp;RewriteCond %{HTTP:Upgrade} websocket [NC]<br /> &nbsp;RewriteCond %{HTTP:Connection} upgrade [NC]<br /> &nbsp;RewriteRule ^/?(.*) "wss://prox.atsome.where:8006/$1" [P,L]<br /><br /><br /> &nbsp; &nbsp; &nbsp; &nbsp;&lt;LocationMatch ^/(api2/json/nodes/[^\/]+/[^\/]+/[^\/]+/vncwebsocket.*)$&gt;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ProxyPass wss://X.Y.Z.10:8006/$1 retry=0<br /> &nbsp; &nbsp; &nbsp; &nbsp;&lt;/LocationMatch&gt;<br /><br /> &nbsp; &nbsp; &nbsp; &nbsp;&lt;Location /websockify&gt;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ProxyPass ws://X.Y.Z.10:8006<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ProxyPassReverse ws://X.Y.Z.10:8006<br /> &nbsp; &nbsp; &nbsp; &nbsp;&lt;/Location&gt;<br /><br /><br />&lt;/VirtualHost&gt;<br />```<br /><br />```<br />&lt;VirtualHost *:443&gt;<br /><br /> &nbsp;ErrorLog ${APACHE_LOG_DIR}/prox-error.log<br /> &nbsp;CustomLog ${APACHE_LOG_DIR}/prox-access.log combined<br /><br />ServerAlias prox.atsome.where<br /><br />RequestHeader set X-Forwarded-Proto https<br />RequestHeader set X-Forwarded-Proto expr=%{REQUEST_SCHEME}<br /><br />SSLEngine On<br />SSLProxyEngine On<br />SSLCertificateFile /certbot/fullchain.pem<br />SSLCertificateKeyFile /certbot/privkey.pem<br />SSLProxyVerify none<br />SSLProxyCheckPeerCN off<br />SSLProxyCheckPeerName off<br />SSLProxyCheckPeerExpire off<br /><br />ProxyRequests Off<br />ProxyPreserveHost On<br /> &nbsp; &nbsp; &nbsp; &nbsp;&lt;Location /&gt;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ProxyPass <noindex><a href="https://X.Y.Z.10:8006/" target="_blank" rel="nofollow" >https://X.Y.Z.10:8006/</a></noindex><br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ProxyPassReverse <noindex><a href="https://X.Y.Z.10:8006/" target="_blank" rel="nofollow" >https://X.Y.Z.10:8006/</a></noindex><br /> &nbsp; &nbsp; &nbsp; &nbsp;&lt;/Location&gt;<br /><br /> &nbsp; &nbsp; &nbsp; &nbsp;&lt;LocationMatch ^/(api2/json/nodes/[^\/]+/[^\/]+/[^\/]+/vncwebsocket.*)$&gt;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ProxyPass wss://X.Y.Z.10/$1 retry=0<br /> &nbsp; &nbsp; &nbsp; &nbsp;&lt;/LocationMatch&gt;<br /><br /> &nbsp; &nbsp; &nbsp; &nbsp;&lt;Location /websockify&gt;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ProxyPass ws://X.Y.Z.10:8006<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ProxyPassReverse ws://X.Y.Z.10:8006<br /> &nbsp; &nbsp; &nbsp; &nbsp;&lt;/Location&gt;<br /><br />&lt;/VirtualHost&gt;<br />```<br /><br />Неважно, как я это делаю, я не могу получить доступ к консолям. В сеть идёт только порт 443 (к обратному прокси). Я не хочу открывать порт 8006. Есть какие-нибудь идеи, что я делаю не так или как это сделать?<br /><br />EDIT: ProxMox task: TASK ERROR: connection timed out <br />
			<i>05.01.2023 10:37:00, pikzigmar.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message336349/79255-proksirovanie-proxmox-cherez-apache</link>
			<guid>http://proxmox.su/forum/messages/forum63/message336349/79255-proksirovanie-proxmox-cherez-apache</guid>
			<pubDate>Thu, 05 Jan 2023 10:37:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
		<item>
			<title>Проксирование Proxmox через Apache?</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message336348/79255-proksirovanie-proxmox-cherez-apache">Проксирование Proxmox через Apache?</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			Ой, извини, совсем забыл, что эту публикацию выложил. Конфиг выглядит отличным, но, к сожалению, он работает только на поддомене. У меня нет возможности создать поддомен, поэтому все должно быть в поддиректории, что, в итоге, ломает запросы: система ищет файлы по адресу $Website.com/pve2 вместо $Website.com/proxmox/pve2. <br />
			<i>18.09.2021 16:41:00, Eile_Kerning.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message336348/79255-proksirovanie-proxmox-cherez-apache</link>
			<guid>http://proxmox.su/forum/messages/forum63/message336348/79255-proksirovanie-proxmox-cherez-apache</guid>
			<pubDate>Sat, 18 Sep 2021 16:41:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
		<item>
			<title>Проксирование Proxmox через Apache?</title>
			<description><![CDATA[<b><a href="http://proxmox.su/forum/messages/forum63/message336347/79255-proksirovanie-proxmox-cherez-apache">Проксирование Proxmox через Apache?</a></b> <i>Proxmox Виртуальная Среда</i> в форуме <a href="http://proxmox.su/forum/forum63/">Proxmox Виртуальная Среда</a>. <br />
			Привет, я пытаюсь проксировать Proxmox через Apache как поддиректорию на моем сайте, потому что не могу создать поддомен. Есть ли способ это сделать? Я новичок в Apache, поэтому не уверен, как это сделать самостоятельно. Я использовал ProxyPass и ProxyPassReverse, но многие части веб-интерфейса сломаны. <br />
			<i>26.08.2021 15:28:00, Eile_Kerning.</i>]]></description>
			<link>http://proxmox.su/forum/messages/forum63/message336347/79255-proksirovanie-proxmox-cherez-apache</link>
			<guid>http://proxmox.su/forum/messages/forum63/message336347/79255-proksirovanie-proxmox-cherez-apache</guid>
			<pubDate>Thu, 26 Aug 2021 15:28:00 +0300</pubDate>
			<category>Proxmox Виртуальная Среда</category>
		</item>
	</channel>
</rss>
