Browse Source

Merge pull request #340 from sebmennetrier/fix_app_element

Fix issues with Element (Riotchat) app
pull/348/head
Kayou 5 years ago
committed by GitHub
parent
commit
23fe6c2e0a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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