Browse Source

Fix issues with Element (Riotchat) app

pull/340/head
Sebastien Mennetrier 6 years ago
parent
commit
fe62ab987a
  1. 4
      conf/nginx.conf

4
conf/nginx.conf

@ -121,6 +121,10 @@ location ^~ __PATH__/ {
rewrite ^ __PATH__/index.php$request_uri; rewrite ^ __PATH__/index.php$request_uri;
} }
location ~* ^__PATH__/apps/riotchat/riot/ {
rewrite ^ __PATH__/index.php$request_uri;
}
# Adding the cache control header for js, css and map files # Adding the cache control header for js, css and map files
location ~ ^__PATH__/.+[^\/]\.(?:css|js|woff2?|svg|gif|map)$ { location ~ ^__PATH__/.+[^\/]\.(?:css|js|woff2?|svg|gif|map)$ {
try_files $uri __PATH__/index.php$request_uri; try_files $uri __PATH__/index.php$request_uri;

Loading…
Cancel
Save