「チャット」へのリンクを構成できません。広告ブロッカーが無効になっていることを確認し、ページを再読み込みしてください。
私のディスコースフォーラムで多くのエラーが発生しています。
Uncaught SyntaxError: Unexpected identifier ‘#t’
discourse-gamificati…df24ec1342936.js:26 Uncaught SyntaxError: Unexpected identifier ‘#a’
discourse-gamificati…bc0b7464476afd.js:3 Uncaught SyntaxError: Unexpected identifier ‘#a’
discourse-lazy-video…dfeb8ed6127f2.js:10 Uncaught SyntaxError: Unexpected identifier ‘#t’
discourse-presence-f…f783c0d7b6fc3.js:12 Uncaught SyntaxError: Unexpected identifier ‘#s’
discourse-whos-onlin…6a7b6c96d55f3.js:12 Uncaught SyntaxError: Unexpected identifier ‘#s’
docker_manager_admin…db0da9a0d1924.js:11 Uncaught SyntaxError: Unexpected identifier ‘#t’
poll-caab9fa7e923441…fdf6d171b8dd53.js:4 Uncaught SyntaxError: Unexpected identifier ‘#e’
6fd02ed……74b887738ade31.js:5 Uncaught SyntaxError: Unexpected identifier ‘#e’
一体何が問題なのでしょうか?
また、ユーザーの実際のIPアドレスが表示されず、すべてのIPアドレスが127.0.0.1と表示されます。
以下は私のnginxファイルです。
# /ask discourse start
location /ask {
proxy_ssl_server_name on;
proxy_set_header Host $host; # faizan Ensures the Host header is correctly set.
proxy_set_header X-Real-IP $remote_addr; # faizan added to see if it sends real ip
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_pass http://localhost:1357/ask;
proxy_redirect off; # faizan Ensures that any redirects are not altered.
}
# /ask end
Cloudflareを使用しており、これもコメントアウトしました。
# - "templates/web.ratelimited.template.yml" rate limit nginx errors were coming and 429 was coming on discourse popup inside. を修正するためにコメントアウトしました
## Plugins go here
## see https://meta.discourse.org/t/19157 for details
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- git clone https://github.com/discourse/docker_manager.git
- git clone https://github.com/discourse/discourse-voting.git
- git clone https://github.com/discourse/discourse-akismet.git
- git clone https://github.com/discourse/discourse-whos-online.git
- git clone https://github.com/discourse/discourse-gamification.git
- git clone https://github.com/discourse/discourse-adplugin.git
- git clone https://github.com/codergautam/disable-email-verification-discourse.git
- git clone https://github.com/discourse/discourse-subscriptions.git
- git clone https://github.com/discourse/discourse-follow.git
- git clone https://github.com/discourse/discourse-cakeday.git
Cloudflareのrocket-loaderも無効にしました。それが私のディスコースページを無限のホームページ読み込み画面でスタックさせていたためです。これをどうやって修正すればいいですか?
上記のすべての問題とエラーを修正し、ユーザーの実際のIPアドレスを表示するにはどうすればよいですか?app.yamlファイルとnginx設定ファイルに何が不足しているか、または間違っていますか?上記の問題、エラーを永続的に修正するためにどのような変更が必要ですか?私はInstalledです。
3.4.0.beta1-dev
再構築するために以下のコマンドを使用しました。
cd /var/discourse
git pull
./launcher bootstrap web_only && ./launcher destroy web_only && ./launcher start web_only
./launcher rebuild data;./launcher rebuild web_only
しかし、2つの違いについては正確にはわかりません。







