Expose only HTTP Recordings login page

VitalPBX Community Support General Discussion Expose only HTTP Recordings login page

  • Post
    Gary
    Participant

    I have a server were http is blocked unless you have a static ip and are in the white list or you are connected through Openvpn, I wish to expose only the login page for Recording for those that do not have static public ip and no vpn connection, is this possible.

     

    0
Viewing 1 replies (of 1 total)
  • Replies
    Up
    0
    Down

    You can do it configuring a specific port to access to the recording login page:

    Create a file named srecordings.conf under /etc/httpd/conf.d/ with the following content:

    <VirtualHost *:2000>
    UseCanonicalName Off
    DocumentRoot /usr/share/sonata/recordings/www
    <Directory "/usr/share/sonata/recordings/www">
    Require all granted
    Options FollowSymlinks
    AllowOverride all
    </Directory>
    <Directory "/var/lib/sonata/recordings">
    Option Indexes FollowSymLinks
    Require all granted
    </Directory>
    Alias /rec_static "/var/lib/sonata/recordings"
    </VirtualHost>

    Remember that you must to allow this port in the firewall of VitalPBX

    0
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.