From c15f61bc835cc76ee35fefeab2440cd91f492232 Mon Sep 17 00:00:00 2001 From: Neko Nekowazarashi Date: Sun, 4 Jun 2023 14:50:19 +0700 Subject: [PATCH] ternyata tidak bisa This reverts commit 1e51721078b44f652b11724482303f140d22a548. --- doc/POST_INSTALL.md | 7 ------- doc/POST_INSTALL_ID.md | 7 ------- 2 files changed, 14 deletions(-) delete mode 100644 doc/POST_INSTALL.md delete mode 100644 doc/POST_INSTALL_ID.md diff --git a/doc/POST_INSTALL.md b/doc/POST_INSTALL.md deleted file mode 100644 index 48b2a5c..0000000 --- a/doc/POST_INSTALL.md +++ /dev/null @@ -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`. \ No newline at end of file diff --git a/doc/POST_INSTALL_ID.md b/doc/POST_INSTALL_ID.md deleted file mode 100644 index 8facec5..0000000 --- a/doc/POST_INSTALL_ID.md +++ /dev/null @@ -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`.