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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
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; |
|
|
|