mirror of
https://github.com/YunoHost-Apps/simplytranslate_ynh.git
synced 2024-09-03 20:16:26 +02:00
catatan setelah pemasangan
This commit is contained in:
parent
c9f1cc43a7
commit
1e51721078
2 changed files with 14 additions and 0 deletions
7
doc/POST_INSTALL.md
Normal file
7
doc/POST_INSTALL.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
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`.
|
7
doc/POST_INSTALL_ID.md
Normal file
7
doc/POST_INSTALL_ID.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
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