[tws-matrix] create new docker-compose sigle redis and new worker Task#12159
This commit is contained in:
parent
37a83a9171
commit
89e2916dfc
16 changed files with 3625 additions and 0 deletions
11
matrix_extDB/matrix_noDB_redis/conf/default
Normal file
11
matrix_extDB/matrix_noDB_redis/conf/default
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
server {
|
||||
listen *:80;
|
||||
listen [::]:80;
|
||||
|
||||
server_name _;
|
||||
|
||||
# Everything else -> ssl
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
}
|
||||
28
matrix_extDB/matrix_noDB_redis/conf/elementhttp.conf
Normal file
28
matrix_extDB/matrix_noDB_redis/conf/elementhttp.conf
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
server {
|
||||
listen 127.0.0.1:8080;
|
||||
listen [::1]:8080;
|
||||
server_name localhost;
|
||||
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
client_max_body_size 512M;
|
||||
proxy_buffering off;
|
||||
|
||||
# Set no-cache for the index.html only so that browsers always check for a new copy of Element Web.
|
||||
location = /index.html {
|
||||
add_header Cache-Control "no-cache";
|
||||
}
|
||||
location = /version {
|
||||
add_header Cache-Control "no-cache";
|
||||
}
|
||||
# covers config.json and config.hostname.json requests as it is prefix.
|
||||
location /config {
|
||||
add_header Cache-Control "no-cache";
|
||||
}
|
||||
|
||||
|
||||
# redirect server error pages to the static page /50x.html
|
||||
#
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue