9 lines
310 B
Plaintext
9 lines
310 B
Plaintext
<VirtualHost *:8080>
|
|||
|
|
ServerName subdomen2.mydomain.ru
|
||
|
|
ServerAlias subdomen2.mydomain.ru
|
||
|
|
DocumentRoot /var/www/subdomen2/
|
||
|
|
RewriteEngine On
|
||
|
|
RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]
|
||
|
|
ErrorLog /var/log/apache2-subdomen2/error.log
|
||
|
|
CustomLog /var/log/apache2-subdomen2/access.log combined
|
||
|
|
</VirtualHost>
|