summaryrefslogtreecommitdiff
path: root/live/blog/a
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-06-20 17:25:43 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-06-20 17:25:43 -0600
commit034fdee4e2a2daf35bb6f1491e7f83bc91f386f3 (patch)
tree94fb4de249e29dd8aad1a7368dfce0f7261dd9e1 /live/blog/a
parent4d5d040769d212dd83e6f76085eea21d789f6b3a (diff)
rebuild manga entry
Diffstat (limited to 'live/blog/a')
-rw-r--r--live/blog/a/manga_server_with_komga.html12
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=&quot;0 0 */8 * * ?&quot;
}
</code></pre>
<p>If it&rsquo;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">&para;</a></h3>
+<h4 id="ssl-certificate">SSL certificate<a class="headerlink" href="#ssl-certificate" title="Permanent link">&para;</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&rsquo;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">&para;</a></h3>
+<h3 id="start-using-komga">Start using Komga<a class="headerlink" href="#start-using-komga" title="Permanent link">&para;</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>