Skip to content

Commit

Permalink
add calendar.ics proxy to docker
Browse files Browse the repository at this point in the history
  • Loading branch information
tiefpunkt committed Oct 2, 2024
1 parent edc62b9 commit e3ec357
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
FROM php:8.3-apache
RUN a2enmod rewrite && pecl install apcu && docker-php-ext-enable apcu
COPY mumalab-website.conf /etc/apache2/conf-available/mumalab-website.conf
RUN a2enconf mumalab-website && \
a2enmod proxy proxy_http ssl && a2enmod rewrite && \
pecl install apcu && docker-php-ext-enable apcu
5 changes: 5 additions & 0 deletions docker/mumalab-website.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
SSLProxyEngine on
ProxyPass "/calendar.ics" "https://calendar.google.com/calendar/ical/[email protected]/public/basic.ics"
ProxyPassReverse "/calendar.ics" "https://calendar.google.com/calendar/ical/[email protected]/public/basic.ics"

ServerSignature Off

0 comments on commit e3ec357

Please sign in to comment.