mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
This PR: - brings back [this PR](https://github.com/YunoHost/yunohost-config-nginx/pull/3/files) which seems to have stayed behind when migrating from `yunohost-config-nginx`. It fixes the missing tile for Jirafeau app (and maybe others). - adds a fix to serve `ynhpanel.*` files whatever the app ningx rules are (some apps nginx conf files block them, like duniter or nextcloud).
8 lines
327 B
HTML
8 lines
327 B
HTML
# Insert YunoHost panel
|
|
sub_filter </head> '<script type="text/javascript" src="/ynhpanel.js"></script></head>';
|
|
sub_filter_once on;
|
|
# Apply to other mime types than text/html
|
|
sub_filter_types application/xhtml+xml;
|
|
# Prevent YunoHost panel files from being blocked by specific app rules
|
|
location ~ ynhpanel\.(js|json|css) {
|
|
}
|