Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Robin Thoni 2d8eee162c
fixed bad rm
1 ano atrás
mongodb init 5 anos atrás
unifi-controller fixed bad rm 1 ano atrás
.gitignore init 5 anos atrás
README.md README 5 anos atrás
docker-compose.yml limit mongodb cache 1 ano atrás
env init 5 anos atrás

README.md

Apache config:

unifi.example.com.conf:

<IfModule mod_ssl.c>
    <VirtualHost *:80>
        ServerName unifi.example.com
        Redirect permanent / https://unifi.example.com/
        <Location /inform>
          ProxyPass http://127.0.0.1:8080/inform
          ProxyPassReverse http://127.0.0.1:8080/inform
        </Location>
    </VirtualHost>
    <VirtualHost *:443>
        Include sites-available/unifi.example.com.include

        SSLEngine on
        SSLCertificateFile /etc/ssl/private/unifi.example.com.crt
        SSLCertificateKeyFile /etc/ssl/private/unifi.example.com.key
        SSLCertificateChainFile /etc/ssl/private/unifi.example.com-chain.crt
    </VirtualHost>
</IfModule>
<IfModule !mod_ssl.c>
    <VirtualHost *:80>
        Include sites-available/unifi.example.com.include
        <Location /inform>
          ProxyPass http://127.0.0.1:8080/inform
          ProxyPassReverse http://127.0.0.1:8080/inform
        </Location>
    </VirtualHost>
</IfModule>

unifi.example.com.include:

ServerName unifi.example.com
ServerAlias unifi.example.com
ProxyPreserveHost On
ProxyRequests off
ProxyPass /wss wss://127.0.0.1:8443/wss retry=0
ProxyPassReverse /wss wss://127.0.0.1:8443/wss
ProxyPass / https://127.0.0.1:8443/
ProxyPassReverse / https://127.0.0.1:8443/
SSLProxyVerify none
SSLProxyCheckPeerName off
SSLProxyCheckPeerCN off
SSLProxyCheckPeerExpire off