<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ispconfig  Zen-Funk Panda</title>
    <link>https://panda.zenfunk.it/tags/ispconfig/</link>
    <description>  Ispconfig  Zen-Funk Panda</description>
    <generator>Hugo</generator>
    <language>it</language>
    <lastBuildDate>Mon, 13 Apr 2020 15:09:24 +0200</lastBuildDate>
      <atom:link href="https://panda.zenfunk.it/tags/ispconfig/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>ISPConfig: snippet per reverse proxy con socket.io</title>
      <link>https://panda.zenfunk.it/posts/2020-04-13-ispconfig-socket.io/</link>
      <pubDate>Mon, 13 Apr 2020 15:09:24 +0200</pubDate>
      <guid>https://panda.zenfunk.it/posts/2020-04-13-ispconfig-socket.io/</guid>
      <description>&lt;p&gt;Qualche settimana fa stavo uscendo pazzo per un problema alla UI di una web app dietro reverse proxy, mi sono accorto che era un problema sul reverse proxy ispezionando la pagina con le WebTools di Chrome e notando che alcune richieste non andavano a buon fine: tutte quelle di socket.io.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;ISPconfig -&amp;gt; Siti -&amp;gt; [vhost sito] -&amp;gt; Opzioni -&amp;gt; Direttive Apache&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;pre&gt;&lt;code&gt;ProxyRequests Off&#xA;ProxyPreserveHost On&#xA;ProxyPass /.well-known/ !&#xA;ProxyPass /               http://10.8.10.11/&#xA;ProxyPassReverse /  http://10.8.10.11/&#xA;&#xA;ProxyVia on      &#xA;RewriteEngine On&#xA;&#xA;RewriteEngine On&#xA;RewriteCond %{HTTP:Connection} Upgrade [NC]&#xA;RewriteCond %{HTTP:Upgrade} websocket [NC]&#xA;RewriteRule /(.*) ws://10.8.10.11:8080/$1 [P,L]&#xA;&#xA;ProxyPass               /socket.io http://10.8.10.11:8080/socket.io&#xA;ProxyPassReverse        /socket.io http://10.8.10.11/socket.io&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;</description>
    </item>
    <item>
      <title>ISPConfig: snippet da incollare per il rewrite HTTP a HTTPS</title>
      <link>https://panda.zenfunk.it/posts/2014-10-04-ispconfig-snippet-da-incollare-per-il-rewrite-http-a-https/</link>
      <pubDate>Sat, 04 Oct 2014 15:30:57 +0000</pubDate>
      <guid>https://panda.zenfunk.it/posts/2014-10-04-ispconfig-snippet-da-incollare-per-il-rewrite-http-a-https/</guid>
      <description>&lt;p&gt;Anche se il &lt;strong&gt;rewrite&lt;/strong&gt; ad ssl è una pratica sconsigliata per motivi di compatibilità e performance in alcune situazioni è un &lt;em&gt;workaround&lt;/em&gt; necessario :/&lt;/p&gt;&#xA;&lt;p&gt;ISPconfig -&amp;gt; Siti -&amp;gt; &lt;em&gt;[vhost sito]&lt;/em&gt; -&amp;gt; Opzioni -&amp;gt; Direttive Apache&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;RewriteEngine on&#xA;RewriteCond %{SERVER_PORT} !^443$&#xA;RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} &amp;amp;#91;L,R]&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;</description>
    </item>
  </channel>
</rss>
