임의의 홈페이지 허용 (Jay Pfaffman)

@pfaffman 다음 설정을 사용해 보았습니다:

  1. 테마 컴포넌트 설치
  2. home_url_override를 https://thx.zoethical.org/TransHack_·Xist·nce… 로 설정
  3. HTML 파일과 일치하도록 Nginx 구성 추가:
        location = /TransHack_·Xist·nce… {
                default_type text/html;
                alias /srv/www/zoethical.org/thx/home.html;
        }

파일을 직접 호출하면 작동하지만, https://thx.zoethical.org 을 호출하면 작동하지 않습니다. 영구 링크(permalinks)에 대한 확인이 있다는 점을 확인했기 때문에 /에 영구 링크를 추가해 보았지만, 이것도 작동하지 않았습니다. 캐시 문제일까요?

참고로, home.html 파일의 내용은 다음과 같습니다:

<!DOCTYPE html>
<html>
        <head>
                <meta charset="UTF-8">
                <title> TransHack ·Xist·nce… </title>
                <link rel="stylesheet" href="/thx.css">
        </head>
        <body class="thx home">
                <header>
                        <h1>THX</h1>
                </header>
                <section id="agora">
                        <h2><a href="https://thx.zoethical.org/c/agora/1">Agora</a></h2>
                        <d-topics-list discourse-url="https://thx.zoethical.org" per-page="5" category="1"></d-topics-list>
                </section>
                <section id="fonderie-de-fiction">
                        <h2><a href="https://thx.zoethical.org/c/fonderie-de-fiction/7">Fonderie de fiction</a></h2>
                        <d-topics-list discourse-url="https://thx.zoethical.org" per-page="5" category="7"></d-topics-list>
                </section>
                <script src="https://thx.zoethical.org/javascripts/embed-topics.js"></script>
        </body>
</html>

수정: 인스턴스가 로그인(SSO)을 요구하기 때문일 것 같습니다. 그렇다면 이 경우 기능 장애가 발생하는 것입니다. 인스턴스를 조금 더 개방하는 등 더 많은 테스트를 수행할 의향이 있습니다. 사이트를 공개로 전환한 후에도 홈페이지를 방문하면 “Oops! That page doesn’t exist or is private.”(페이지가 존재하지 않거나 비공개입니다)라는 오류가 여전히 표시됩니다. 이유가 무엇일까요?

3개의 좋아요