mirror of
https://github.com/YunoHost-Apps/simplytranslate_ynh.git
synced 2024-09-03 20:16:26 +02:00
parent
1e51721078
commit
c15f61bc83
2 changed files with 0 additions and 14 deletions
|
@ -1,7 +0,0 @@
|
||||||
If you install this app in a sub-path, the favicon is not gonna work because some limitation. If you really want to use the favicon, make sure that `__DOMAIN__/static/favicon.ico` isn't used by any other app, then change the nginx conf in `/etc/nginx/conf.d/__DOMAIN__.d/__ID__.conf` and add this:
|
|
||||||
```
|
|
||||||
location /static/favicon.ico {
|
|
||||||
root __INSTALL_DIR__/simplytranslate/static/favicon.ico;
|
|
||||||
}
|
|
||||||
```
|
|
||||||
Then, reload nginx `systemctl reload nginx`.
|
|
|
@ -1,7 +0,0 @@
|
||||||
Jika Anda memasang aplikasi ini di sub-jalur, maka faviconnya tidak akan tertampil karena beberapa batasan. Jika Anda benar-benar ingin menampilkan favicon, maka pastikan terlebih dahulu `__DOMAIN__/static/favicon.ico` tidak dipakai oleh aplikasi lain, setelah itu sunting konfigurasi nginx di `/etc/nginx/conf.d/__DOMAIN__.d/__ID__.conf` dengan menambah:
|
|
||||||
```
|
|
||||||
location /static/favicon.ico {
|
|
||||||
root __INSTALL_DIR__/simplytranslate/static/favicon.ico;
|
|
||||||
}
|
|
||||||
```
|
|
||||||
Setelah itu, silakan dimuat ulang nginxnya `systemctl reload nginx`.
|
|
Loading…
Add table
Reference in a new issue