mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
33 lines
878 B
Text
33 lines
878 B
Text
<VirtualHost localhost:80>
|
|
ServerName SERVER_NAME
|
|
ServerAlias localhost
|
|
ServerAdmin CONTACT_EMAIL
|
|
DocumentRoot "/var/www/html/AVideo"
|
|
|
|
ErrorLog /dev/stderr
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
TransferLog /dev/stdout
|
|
</VirtualHost>
|
|
<VirtualHost localhost:443>
|
|
ServerName SERVER_NAME
|
|
ServerAlias localhost
|
|
ServerAdmin CONTACT_EMAIL
|
|
DocumentRoot "/var/www/html/AVideo"
|
|
|
|
ErrorLog /dev/stderr
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
TransferLog /dev/stdout
|
|
|
|
SSLEngine on
|
|
SSLCertificateFile TLS_CERTIFICATE_FILE
|
|
SSLCertificateKeyFile TLS_CERTIFICATE_KEY
|
|
</VirtualHost>
|
|
<Directory /var/www/html/AVideo/>
|
|
Options Indexes FollowSymLinks
|
|
XSendFile on
|
|
XSendFilePath /var/www/html/AVideo/
|
|
AllowOverride All
|
|
Require all granted
|
|
Order Allow,Deny
|
|
Allow from All
|
|
</Directory>
|