• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

How-To create vhost_ssl.conf for subdomain?

ChrisFi

New Pleskian
Hi *,

I am trying to install a seafile cloud storage server on my hosted virtual server running Plesk 11.0.9. To access the web interface I need to configure the vhost.conf of the subdomain I use to redirect the request to the server.

Code:
RewriteEngine On

# seafile httpserver
ProxyPass /seafhttp http://127.0.0.1:8082
ProxyPassReverse /seafhttp http://127.0.0.1:8082
RewriteRule ^/seafhttp - [QSA,L]

# seahub
RewriteRule ^/(media.*)$ /$1 [QSA,L,PT]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /seahub.fcgi/$1 [QSA,L,E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

To use HTTPS for the interface I need to configure the corresponding vhost_ssl.conf. But the only way to do this is the vhost_ssl.conf of the root domain leading to a redirect for the root domain, but that's not what I intended. What am I missing here?
 
Back
Top