From 71d361c3abb8bda3d684f46903870824c71d4afe Mon Sep 17 00:00:00 2001
From: Guilherme Arthur Geronimo <guilherme.geronimo@ufsc.br>
Date: Fri, 26 Apr 2024 00:49:07 +0000
Subject: [PATCH 1/5] proxy

---
 Dockerfile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Dockerfile b/Dockerfile
index c46474a..b184cd7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,6 +9,8 @@ ADD docker/web/ca.crt        	/etc/apache2/ssl/
 ADD docker/web/server.crt 	/etc/apache2/ssl/
 ADD docker/web/server.key 	/etc/apache2/ssl/
 RUN a2enmod ssl
+RUN a2enmod proxy
+RUN a2enmod proxy_http
 
 #TODO Links to be compliance with old env. We should remove this in the future.
 RUN ln -s -T /var/www/html/ /smartdata && chmod 777 /smartdata
-- 
GitLab


From 8dbdcc58d52b18df51f2372711a91e3c42178119 Mon Sep 17 00:00:00 2001
From: Guilherme Arthur Geronimo <guilherme.geronimo@ufsc.br>
Date: Fri, 26 Apr 2024 01:48:59 +0000
Subject: [PATCH 2/5] headers

---
 Dockerfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Dockerfile b/Dockerfile
index b184cd7..5729f08 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,6 +11,7 @@ ADD docker/web/server.key 	/etc/apache2/ssl/
 RUN a2enmod ssl
 RUN a2enmod proxy
 RUN a2enmod proxy_http
+RUN a2enmod headers
 
 #TODO Links to be compliance with old env. We should remove this in the future.
 RUN ln -s -T /var/www/html/ /smartdata && chmod 777 /smartdata
-- 
GitLab


From e7fd1c0e9f0b6f2e8d705b1b7c5fb7e8546bc439 Mon Sep 17 00:00:00 2001
From: Guilherme Arthur Geronimo <guilherme.geronimo@ufsc.br>
Date: Fri, 26 Apr 2024 02:06:10 +0000
Subject: [PATCH 3/5] rewrite

---
 Dockerfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Dockerfile b/Dockerfile
index 5729f08..cbf266c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -12,6 +12,7 @@ RUN a2enmod ssl
 RUN a2enmod proxy
 RUN a2enmod proxy_http
 RUN a2enmod headers
+RUN a2enmod rewrite
 
 #TODO Links to be compliance with old env. We should remove this in the future.
 RUN ln -s -T /var/www/html/ /smartdata && chmod 777 /smartdata
-- 
GitLab


From 1c321892f21f2ea52bd384cb9ea77327fcf7ae9d Mon Sep 17 00:00:00 2001
From: Guilherme Arthur Geronimo <guilherme.geronimo@ufsc.br>
Date: Fri, 26 Apr 2024 02:44:41 +0000
Subject: [PATCH 4/5] Enable all

---
 Dockerfile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Dockerfile b/Dockerfile
index cbf266c..32b05b3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -13,6 +13,11 @@ RUN a2enmod proxy
 RUN a2enmod proxy_http
 RUN a2enmod headers
 RUN a2enmod rewrite
+RUN a2enmod proxy_ajp
+RUN a2enmod deflate
+RUN a2enmod proxy_balancer
+RUN a2enmod proxy_connect
+RUN a2enmod proxy_html
 
 #TODO Links to be compliance with old env. We should remove this in the future.
 RUN ln -s -T /var/www/html/ /smartdata && chmod 777 /smartdata
-- 
GitLab


From a2c03701f71cf43d49c28b4db9065f8c38204d76 Mon Sep 17 00:00:00 2001
From: Guilherme Arthur Geronimo <guilherme.geronimo@ufsc.br>
Date: Fri, 26 Apr 2024 02:52:17 +0000
Subject: [PATCH 5/5] slim

---
 Dockerfile | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 32b05b3..c79522f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -13,10 +13,6 @@ RUN a2enmod proxy
 RUN a2enmod proxy_http
 RUN a2enmod headers
 RUN a2enmod rewrite
-RUN a2enmod proxy_ajp
-RUN a2enmod deflate
-RUN a2enmod proxy_balancer
-RUN a2enmod proxy_connect
 RUN a2enmod proxy_html
 
 #TODO Links to be compliance with old env. We should remove this in the future.
-- 
GitLab