update
This commit is contained in:
parent
554f241eb4
commit
f2a60f1732
25 changed files with 403 additions and 140 deletions
8
nginx/matrix.stpl
Executable file → Normal file
8
nginx/matrix.stpl
Executable file → Normal file
|
|
@ -24,14 +24,6 @@ server {
|
|||
gzip_min_length 256;
|
||||
gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;
|
||||
gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:6080;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
# Nginx by default only allows file uploads up to 1M in size
|
||||
# Increase client_max_body_size to match max_upload_size defined in homeserver.yaml
|
||||
}
|
||||
|
||||
location /.well-known/matrix/client {
|
||||
return 200 '{"m.homeserver": {"base_url": "https://im.kernel.ws"}}';
|
||||
default_type application/json;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue