Skip to content

Commit e3ec357

Browse files
committed
add calendar.ics proxy to docker
1 parent edc62b9 commit e3ec357

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

docker/Dockerfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
FROM php:8.3-apache
2-
RUN a2enmod rewrite && pecl install apcu && docker-php-ext-enable apcu
2+
COPY mumalab-website.conf /etc/apache2/conf-available/mumalab-website.conf
3+
RUN a2enconf mumalab-website && \
4+
a2enmod proxy proxy_http ssl && a2enmod rewrite && \
5+
pecl install apcu && docker-php-ext-enable apcu

docker/mumalab-website.conf

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
SSLProxyEngine on
2+
ProxyPass "/calendar.ics" "https://calendar.google.com/calendar/ical/[email protected]/public/basic.ics"
3+
ProxyPassReverse "/calendar.ics" "https://calendar.google.com/calendar/ical/[email protected]/public/basic.ics"
4+
5+
ServerSignature Off

0 commit comments

Comments
 (0)