diff --git a/Dockerfile.nginx b/Dockerfile.nginx
index f576c67aa9d562b4f5feb2e833f53b6e4f8a13ff..5cb9399dbeae1dbf8594a95ba469394ce1e92bd4 100644
--- a/Dockerfile.nginx
+++ b/Dockerfile.nginx
@@ -85,8 +85,6 @@ COPY commul-customization/shib_clear_headers /opt/nginx/conf/
 # copy over config files
 COPY commul-customization/aai.js /opt/repository/sources/lindat-aai-discovery/
 WORKDIR /opt/repository/sources/lindat-aai-discovery/
-# this line only is necessary until https://github.com/ufal/lindat-aai-discovery/issues/6 is resolved
-RUN perl -pi -e 's/http/https/' /opt/repository/sources/lindat-aai-discovery/Makefile
 RUN touch /opt/repository/sources/lindat-aai-discovery/aai.js
 RUN make aai.min.js