Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

🩹(frontend) rename Nginx config to override default configuration

lebaudantoine3d125e940f4a
diff --git a/docker/dinum-frontend/Dockerfile b/docker/dinum-frontend/Dockerfile
index 20e2b28e..a0fc41d4 100644
--- a/docker/dinum-frontend/Dockerfile
+++ b/docker/dinum-frontend/Dockerfile
@@ -79,7 +79,7 @@ COPY --from=addons-builder \
/home/addons/outlook/dist \
/usr/share/nginx/html/addons/outlook
-COPY ./docker/dinum-frontend/nginx/dinum.conf /etc/nginx/conf.d
+COPY ./docker/dinum-frontend/nginx/default.conf /etc/nginx/conf.d
COPY ./docker/files/usr/local/bin/entrypoint /usr/local/bin/entrypoint
ENTRYPOINT [ "/usr/local/bin/entrypoint" ]
diff --git a/docker/dinum-frontend/nginx/dinum.conf b/docker/dinum-frontend/nginx/default.conf
similarity index 97%
rename from docker/dinum-frontend/nginx/dinum.conf
rename to docker/dinum-frontend/nginx/default.conf
index 6ef89f00..bbb05726 100644
--- a/docker/dinum-frontend/nginx/dinum.conf
+++ b/docker/dinum-frontend/nginx/default.conf
@@ -5,8 +5,6 @@ server {
root /usr/share/nginx/html;
- include /etc/nginx/extra/*.conf;
-
location = /.well-known/windows-app-web-link {
default_type application/json;
alias /usr/share/nginx/html/.well-known/windows-app-web-link;
@@ -33,6 +31,7 @@ server {
location ~ ^/addons/outlook(/.*)?$ {
alias /usr/share/nginx/html/addons/outlook$1;
+ error_page 404 =200 /index.html;
add_header Cache-Control "no-cache, no-store, must-revalidate";
add_header Pragma "no-cache" always;
add_header Expires 0 always;
@@ -53,7 +52,6 @@ server {
sub_filter 'NONCE_PLACEHOLDER' $nonce;
sub_filter_once off;
- sub_filter_types text/html;
}
# Serve static files with caching