Move well-known to not be hidden. Nginx will handle rewriting the path.
This commit is contained in:
parent
ae7240b2f4
commit
846da7bcf9
@ -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:
|
||||
|
@ -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" *;
|
||||
|
Loading…
x
Reference in New Issue
Block a user