‘Chat’ 링크 구성에 실패했습니다. 애드블로커가 비활성화되어 있는지 확인한 후 페이지를 새로고침해 주세요.
디스코urs 포럼에서 많은 오류가 발생하고 있습니다.
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.01로 표시됩니다.
아래는 제 nginx 파일입니다:
# /ask discourse start
location /ask {
proxy_ssl_server_name on;
proxy_set_header Host $host; # faizan Host 헤더가 올바르게 설정되도록 보장합니다.
proxy_set_header X-Real-IP $remote_addr; # faizan 실제 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 리디렉션이 변경되지 않도록 보장합니다.
}
# /ask end
저는 Cloudflare를 사용 중이며, 이 부분도 주석 처리했습니다.
# - "templates/web.ratelimited.template.yml" 429 오류를 수정하기 위해 주석 처리했습니다
nginx의 레이트 리밋 오류가 발생하고 있었고, discourse 내부 팝업에서 429 오류가 발생했기 때문입니다.
##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도 비활성화했습니다. 그것이 제 discourse 페이지가 무한한 홈 페이지 로딩 화면에 멈추게 하는 원인이었기 때문입니다. 어떻게 수정할 수 있을까요?
누군가 제게 위에서 언급한 모든 문제를 수정하고 사용자의 실제 IP 주소를 표시하는 방법을 도와주실 수 있을까요? 제 app.yaml 파일과 nginx 구성 파일에서 무엇이 빠져 있거나 잘못되었나요? 위의 모든 문제와 오류를 영구적으로 수정하기 위해 어떤 변경 사항이 필요한가요? 저는 설치된
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
하지만 두 명령어 사이의 차이가 정확히 무엇인지 확실하지 않습니다.







