Move well-known to not be hidden. Nginx will handle rewriting the path.
All checks were successful
semver Build semver has succeeded
build-homepage Build build-homepage has succeeded

This commit is contained in:
Tom Alexander 2023-09-23 12:23:27 -04:00
parent ae7240b2f4
commit 846da7bcf9
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
3 changed files with 5 additions and 1 deletions

View File

@ -6,7 +6,7 @@ all: build push
.PHONY: build
build:
docker build -t $(IMAGE_NAME) -f Dockerfile ../
docker build -t $(IMAGE_NAME) -f Dockerfile ../../
.PHONY: push
push:

View File

@ -43,6 +43,10 @@ http {
return 200 '{"status":"OK"}';
}
location /.well-known/ {
alias /srv/http/public/well-known/;
}
location /.well-known/matrix/server {
default_type application/json;
add_header "Access-Control-Allow-Origin" *;