nextcloud-install/docker/Dockerfile.ssl
2026-06-24 09:23:58 +03:00

11 lines
379 B
Docker
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Образ Nextcloud + Apache с включённым SSL (mod_ssl)
FROM nextcloud:${NEXTCLOUD_BASE_TAG:-apache}
RUN a2enmod ssl headers \
&& cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/000-default-http.conf.bak
COPY templates/apache-ssl-inside.conf /etc/apache2/sites-available/nextcloud-ssl.conf
RUN a2ensite nextcloud-ssl
EXPOSE 80 443