mirror of https://gitlab.crans.org/nounous/nixos
Ajout CORS policy
parent
0a20628504
commit
07aeb7f188
|
@ -147,6 +147,7 @@
|
|||
locations."/_matrix" = {
|
||||
proxyPass = "http://localhost:8008";
|
||||
extraConfig = ''
|
||||
add_header 'Access-Control-Allow-Origin' '*';
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Host $host;
|
||||
|
|
Loading…
Reference in New Issue