Jump to content

uT WebUI and Apache2


Polaris395

Recommended Posts

  • 2 weeks later...

It would be good to proxy it through the apache and use ssl on the apache...

sample:


<VirtualHost IP:443>
ServerAdmin test@example.com
ServerName example.com
DocumentRoot /var/www/

SSLEngine on
SSLCertificateFile /root/ssl/example.com.crt
SSLCertificateKeyFile /root/ssl/example.com.key


<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>

<Location /gui>
ProxyPass http://127.0.0.1:WEBUIPORT/gui retry=5
ProxyPassReverse http://127.0.0.1:WEBUIPORT/gui
</Location>

ErrorLog /var/log/apache2/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/access.log combined
ServerSignature Off


</VirtualHost>

And then limit access to webui to 127.0.0.1

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...