1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
Oinktube/deploy/apache/avideo.conf
Daniel Neto b3f30f1575 Update
2023-02-21 12:21:14 -03:00

46 lines
1.3 KiB
Text

<VirtualHost localhost:80>
ServerName 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 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>
<VirtualHost *:80>
ServerName SERVER_NAME
ServerAdmin CONTACT_EMAIL
DocumentRoot "/var/www/html/AVideo"
ErrorLog /dev/stderr
CustomLog ${APACHE_LOG_DIR}/access.log combined
TransferLog /dev/stdout
</VirtualHost>
<VirtualHost *:443>
ServerName SERVER_NAME
ServerAdmin CONTACT_EMAIL
DocumentRoot "/var/www/html/AVideo"
ErrorLog /dev/stderr
CustomLog ${APACHE_LOG_DIR}/access.log combined
TransferLog /dev/stdout
</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>