From ab881c3409f3fa8a8ae620283d6d3f367d44dcb8 Mon Sep 17 00:00:00 2001 From: Raine Date: Mon, 16 Oct 2023 01:35:06 +0200 Subject: [PATCH] fix: file based well-known --- neo.Dockerfile | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 neo.Dockerfile diff --git a/neo.Dockerfile b/neo.Dockerfile deleted file mode 100644 index 805feee..0000000 --- a/neo.Dockerfile +++ /dev/null @@ -1,22 +0,0 @@ -FROM nginx - -COPY public /usr/share/nginx/html - -RUN echo "server { \ - listen 80; \ - server_name _; \ - \ - location /.well-known/matrix/server { \ - return 200 '{ \"m.server\": \"dendrite.neo.ixvd.net:443\" }'; \ - } \ - \ - location /.well-known/matrix/client { \ - return 200 '{ \"m.homeserver\": { \"base_url\": \"https://element.envs.net\" } }'; \ - } \ - \ - location /_matrix { \ - proxy_pass http://dendrite; \ - } \ -}" > /etc/nginx/conf.d/matrix.conf - -EXPOSE 80 \ No newline at end of file