Wrong port (8443 -> 8448)
This commit is contained in:
parent
fb5e486e8d
commit
59a09b131c
|
@ -4,17 +4,15 @@ server {
|
|||
|
||||
# Common shit
|
||||
include configs/general.conf;
|
||||
|
||||
server_name matrix.zzls.xyz;
|
||||
|
||||
location /.well-known/matrix/server {
|
||||
return 200 '{ "m.server": "matrix.zzls.xyz:8443" }';
|
||||
return 200 '{ "m.server": "matrix.zzls.xyz:8448" }';
|
||||
}
|
||||
|
||||
location /.well-known/matrix/client {
|
||||
# If your sever_name here doesn't match your matrix homeserver URL
|
||||
# (e.g. hostname.com as server_name and matrix.hostname.com as homeserver URL)
|
||||
# add_header Access-Control-Allow-Origin '*';
|
||||
default_type application/json;
|
||||
add_header Access-Control-Allow-Origin '*';
|
||||
return 200 '{ "m.homeserver": { "base_url": "https://matrix.zzls.xyz" } }';
|
||||
}
|
||||
|
||||
|
@ -36,8 +34,7 @@ server {
|
|||
include configs/security.conf;
|
||||
|
||||
# QUIC
|
||||
add_header Alt-Svc 'h3=":443", h3=":8448";
|
||||
ma=86400';
|
||||
add_header Alt-Svc 'h3=":443", h3=":8448"; ma=86400';
|
||||
|
||||
listen 443 quic reuseport;
|
||||
listen 443 http2 ssl reuseport;
|
||||
|
@ -49,8 +46,6 @@ server {
|
|||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
|
||||
|
||||
}
|
||||
|
||||
|
||||
server {
|
||||
if ($host = matrix.zzls.xyz) {
|
||||
return 301 https://$host$request_uri;
|
||||
|
|
Loading…
Reference in New Issue