@@ -6,6 +6,7 @@ RUN apt-get update && apt-get install -y --fix-missing \
COPY /docker/api/vhost.conf /etc/apache2/sites-available/vhost.conf
RUN a2ensite vhost.conf; \
+ a2enmod rewrite; \
service apache2 start;
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"; \
@@ -4,7 +4,7 @@
local.api.ossatura.net {
tls internal
- reverse_proxy http://api:80
+ reverse_proxy api:80
log {
output file /var/log/api-access.log {
roll_size 10mb
@@ -15,7 +15,7 @@ local.api.ossatura.net {
local.app.ossatura.net {
- reverse_proxy http://app:3002
+ reverse_proxy app:3002
output file /var/log/app-access.log {