mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Update
This commit is contained in:
parent
93a450c449
commit
a738654b78
2 changed files with 5 additions and 1 deletions
|
@ -142,6 +142,10 @@ RUN /usr/local/bin/configure-php.sh
|
|||
# Add Apache configuration
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
# Redirect Apache logs to stdout and stderr
|
||||
RUN ln -sf /proc/self/fd/1 /var/log/apache2/access.log && \
|
||||
ln -sf /proc/self/fd/2 /var/log/apache2/error.log
|
||||
|
||||
# Create directory and set permissions
|
||||
RUN mkdir -p /var/www/tmp && \
|
||||
chown www-data:www-data /var/www/tmp && \
|
||||
|
|
|
@ -31,4 +31,4 @@ MAIN_LANGUAGE=en
|
|||
SYSTEM_ADMIN_PASSWORD=password
|
||||
WEBSITE_TITLE=Your Website Title
|
||||
TLS_CERTIFICATE_FILE=/etc/apache2/ssl/localhost.crt
|
||||
TLS_CERTIFICATE_KEY=/etc/apache2/ssl/localhost.key
|
||||
TLS_CERTIFICATE_KEY=/etc/apache2/ssl/localhost.key
|
Loading…
Add table
Add a link
Reference in a new issue