remove ssl from container and use port 80
This commit is contained in:
@@ -8,13 +8,5 @@ WORKDIR /var/www/html
|
||||
RUN ln -s ../html api
|
||||
|
||||
COPY docker/apache/apache2.conf /etc/apache2/
|
||||
COPY docker/apache/default-ssl.conf /etc/apache2/sites-available/default-ssl.conf
|
||||
|
||||
RUN chown -R www-data:www-data /var/www/html
|
||||
|
||||
RUN openssl req -new -newkey rsa:2048 -days 365 -nodes -x509 \
|
||||
-subj "/C=BA/ST=FBiH/L=Sarajevo/O=Saburly/CN=localhost" \
|
||||
-keyout /etc/ssl/private/selfsigned.key -out /etc/ssl/certs/selfsigned.crt
|
||||
|
||||
WORKDIR /etc/apache2/sites-enabled
|
||||
RUN ln -s ../sites-available/default-ssl.conf default-ssl.conf
|
||||
RUN chown -R www-data:www-data /var/www/html
|
||||
Reference in New Issue
Block a user