최근 포럼 로그인 대화상자에 포럼 로고가 표시되던 위치에 ‘누락’된 플레이스홀더 기호가 표시되는 것을 발견했습니다.
로그인한 후에는 사이트의 기본 로고가 정상적으로 표시됩니다.
저는 로고 변형 버전 중 표준 ‘기본 로고’와 ‘작은 로고’ 두 가지만 업로드했으며, 다른 변형 옵션은 사용하지 않아 두 가지 중 하나를 기본값으로 사용하고 있습니다.
확신은 없지만, 이것이 최근 포럼 업데이트나 재구성과 관련이 있을지 궁금합니다.
로그인하지 않은 사용자의 경우 로고와 같은 사이트 리소스에 대한 접근이 차단되고 있을까요?
혹시 이것이 원인일 수 있을까요?
(post)
안전 모드에서도 이런 현상이 발생합니까? 브라우저 콘솔에 오류가 있나요?
범위를 좁히는 데 도움이 된다면, 이 문제가 ‘로그인 필요’ 랜딩 페이지에서 발생하는 것 같습니다. (틀렸으면 알려주세요
) 가입 페이지와 로그인 페이지 모두에서 로고 헤더가 평소처럼 보입니다.
@NateDhaliwal님, 좋은 제안 감사합니다.
해당 설정을 토글한 후 새로고침해도 아무런 차이가 없습니다.
안전 모드(safemode)에 아예 접근할 수 없는 것 같습니다 - https://discourse.nzarchiture.net.nz는 브라우저에서 잘못된 링크(dead link) 경고가 표시됩니다 (http://discourse.nzarchiture.net.nz도 마찬가지입니다).
해당 페이지에는 분명히 오류가 있습니다 - 로그인 다이얼로그가 어떤 이유로든 콘텐츠에 대해 https와 http 기반 URL의 혼합을 참조하려는 것처럼 보입니다.
(index):365 Mixed Content: The page at 'https://nzarchitecture.net.nz/' was loaded over HTTPS, but requested an insecure font 'http://nzarchitecture.net.nz/fonts/JetBrainsMono-Regular.woff2?v=0.0.19'. This request has been blocked; the content must be served over HTTPS.
(index):365 Mixed Content: The page at 'https://nzarchitecture.net.nz/' was loaded over HTTPS, but requested an insecure font 'http://nzarchitecture.net.nz/fonts/JetBrainsMono-Bold.woff2?v=0.0.19'. This request has been blocked; the content must be served over HTTPS.
app.js:297 ℹ️ Discourse v2025.12.0-latest — https://github.com/discourse/discourse/commits/4e84c286d6 — Ember v6.6.0
content.js:18 [Form Persistence] 初始化表单持久化扩展...
content.js:868 shouldRun: false
(index):1 Mixed Content: The page at 'https://nzarchitecture.net.nz/' was loaded over HTTPS, but requested an insecure favicon 'http://nzarchitecture.net.nz/uploads/default/optimized/1X/f194d3ff8870aa98f79a9aef41a5d954c243aef6_2_32x32.png'. This request has been blocked; the content must be served over HTTPS.
content.js:13 [Form Persistence] 从存储中获取的数据: Object
content.js:18 [Form Persistence] 当前页面未启用表单持久化
(index):1 Mixed Content: The page at 'https://nzarchitecture.net.nz/' was loaded over HTTPS, but requested an insecure element 'http://nzarchitecture.net.nz/uploads/default/original/1X/5d5ed6d82ef2bd08985655747ca1f2d08e94ac0e.png'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
(index):1 Mixed Content: The page at 'https://nzarchitecture.net.nz/' was loaded over HTTPS, but requested an insecure image 'http://nzarchitecture.net.nz/uploads/default/original/1X/5d5ed6d82ef2bd08985655747ca1f2d08e94ac0e.png'. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at 'https://nzarchitecture.net.nz/' was loaded over HTTPS, but requested an insecure element 'http://nzarchitecture.net.nz/uploads/default/optimized/1X/f194d3ff8870aa98f79a9aef41a5d954c243aef6_2_512x512.png'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
content.js:18 [Form Persistence] 收到状态检查指令
content.js:13 [Form Persistence] 从存储中获取的数据: Object
content.js:18 [Form Persistence] 页面状态更新: Object
또한 콘솔 경고 사이에 있는 중국어 문자가 어디서 온 것인지, 그리고 이것이 우려할 만한 원인인지도 알 수 없습니다. 사이트 자체는 영어로 생성되었으며 다른 번역 설정이 되어 있지 않습니다.
Discourse에 이미지가 https로만 로드되도록 어떻게 설정할 수 있을까요?
네, 말씀이 맞습니다. @JammyDodger 감사합니다.
결국 제 app.yml 파일에서 DISCOURSE_FORCE_HTTPS 설정이 'false’로 되어 있더군요.
이를 'true’로 변경하고 재빌드한 후, 로고가 다시 표시되고 관리자 대시보드의 경고 메시지도 사라졌습니다.