diff options
Diffstat (limited to 'live/blog/a/manga_server_with_komga.html')
-rw-r--r-- | live/blog/a/manga_server_with_komga.html | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/live/blog/a/manga_server_with_komga.html b/live/blog/a/manga_server_with_komga.html index 21c5305..1659d61 100644 --- a/live/blog/a/manga_server_with_komga.html +++ b/live/blog/a/manga_server_with_komga.html @@ -113,9 +113,11 @@ </ul> </li> <li><a href="#komga">Komga</a><ul> -<li><a href="#reverse-proxy">Reverse proxy</a></li> +<li><a href="#reverse-proxy">Reverse proxy</a><ul> <li><a href="#ssl-certificate">SSL certificate</a></li> -<li><a href="#starting-using-komga">Starting using Komga</a></li> +</ul> +</li> +<li><a href="#start-using-komga">Start using Komga</a></li> <li><a href="#library-creation">Library creation</a><ul> <li><a href="#set-default-directory-permissions">Set default directory permissions</a></li> <li><a href="#populate-manga-library">Populate manga library</a></li> @@ -406,14 +408,14 @@ KOMGA_DATABASE_BACKUP_SCHEDULE="0 0 */8 * * ?" } </code></pre> <p>If it’s going to be used as a subdir on another domain then just change the <code>location</code> with <code>/subdir</code> instead of <code>/</code>; be careful with the <code>proxy_pass</code> directive, it has to match what you configured at <code>/etc/komga.conf</code> for the <code>SERVER_SERVLET_CONTEXT_PATH</code> regardless of the <code>/subdir</code> you selected at <code>location</code>.</p> -<h3 id="ssl-certificate">SSL certificate<a class="headerlink" href="#ssl-certificate" title="Permanent link">¶</a></h3> +<h4 id="ssl-certificate">SSL certificate<a class="headerlink" href="#ssl-certificate" title="Permanent link">¶</a></h4> <p>If using a subdir then the same certificate for the subdomain/domain should work fine and no extra stuff is needed, else if following along me then we can create/extend the certificate by running:</p> <pre><code class="language-sh">certbot --nginx </code></pre> <p>That will automatically detect the new subdomain config and create/extend your existing certificate(s). In my case I manage each certificate’s subdomain:</p> <pre><code class="language-sh">certbot --nginx -d domainname.com -d subdomain.domainname.com -d komga.domainname.com </code></pre> -<h3 id="starting-using-komga">Starting using Komga<a class="headerlink" href="#starting-using-komga" title="Permanent link">¶</a></h3> +<h3 id="start-using-komga">Start using Komga<a class="headerlink" href="#start-using-komga" title="Permanent link">¶</a></h3> <p>We can now <code>start</code>/<code>enable</code> the <code>komga.service</code>:</p> <pre><code class="language-sh">systemctl enable komga.service systemctl start komga.service @@ -495,7 +497,7 @@ default:other::r-x <div class="article-info"> <p>By David LuĂ©vano</p> <p>Created: Sat, Jun 10, 2023 @ 19:36 UTC</p> - <p>Modified: Tue, Jun 13, 2023 @ 10:48 UTC</p> + <p>Modified: Tue, Jun 20, 2023 @ 21:43 UTC</p> <div class="article-tags"> <p>Tags: <a href="https://blog.luevano.xyz/tag/@code.html">code</a>, <a href="https://blog.luevano.xyz/tag/@english.html">english</a>, <a href="https://blog.luevano.xyz/tag/@server.html">server</a>, <a href="https://blog.luevano.xyz/tag/@tools.html">tools</a>, <a href="https://blog.luevano.xyz/tag/@tutorial.html">tutorial</a> </p> |