Skip to content
Snippets Groups Projects
Commit 5eaba335 authored by Andrej Ramašeuski's avatar Andrej Ramašeuski
Browse files

Zapneme ssl

parent 52c7734b
No related branches found
No related tags found
No related merge requests found
Pipeline #105 passed
......@@ -19,6 +19,7 @@ RUN set -ex; \
libpng-dev \
libpq-dev \
netcat \
ssl-cert \
\
&& apt-get -y autoclean; apt-get -y autoremove; \
rm -rf /var/lib/apt/lists/*
......@@ -45,7 +46,7 @@ RUN set -ex; \
ENV LIMESURVEY_VERSION=$version
# Apache configuration
RUN a2enmod headers rewrite remoteip; \
RUN a2ensite default-ssl; a2enmod headers rewrite remoteip ssl; \
{\
echo RemoteIPHeader X-Real-IP ;\
echo RemoteIPTrustedProxy 10.0.0.0/8 ;\
......
......@@ -7,9 +7,9 @@ services:
- "/mnt/glusterfs/limesurvey/saml2:/etc/apache2/saml2"
ports:
- "8080:80"
- "8443:443"
environment:
HOST: dotazniky.pirati.cz
SP_ID: dotazniky
HOST: ankety.pirati.cz
IDP_METADATA: https://auth.pirati.cz/auth/realms/pirati/protocol/saml/descriptor
DB_TYPE: pgsql
DB_PORT: 5432
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment