11 Commits
0.1.5 ... 0.1.4

3 changed files with 23 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY ./_index /usr/share/nginx/html/
COPY ./mongo-ops/site /usr/share/nginx/html/mongo-ops/
COPY ./blog-api/site /usr/share/nginx/html/api/blog/
COPY ./tutorials/media-manager/site /usr/share/nginx/html/tutorials/media-manager/
COPY ./tutorials/media-manager/site /usr/share/nginx/html/tutorials/media-manager
# Expose HTTP port
EXPOSE 80

View File

@@ -122,7 +122,7 @@
font-weight: 600;
border: 1px solid #484f58;
">
Build: 0.1.5
Build: 0.1.4
</span>
</header>
@@ -133,7 +133,7 @@
A modular, async MongoDB operations layer for FastAPI microservices.
Simplifies CRUD, transactions, and model management.
</p>
<a href="/mongo-ops/" target="_blank">View Documentation →</a>
<a href="/mongo-ops/">View Documentation →</a>
</div>
<div class="card">
@@ -142,7 +142,7 @@
A modular, async Blog API backend for FastAPI microservices.
Provides streamlined CRUD operations for articles and authors, supports nested author details within article endpoints, and enables simple association management between content and contributors.
</p>
<a href="/api/blog/" target="_blank">View Documentation →</a>
<a href="/api/blog/">View Documentation →</a>
</div>
<div class="card">
@@ -152,7 +152,7 @@
automation workflows, and integration with Radarr, Sonarr, and your custom
dashboard services.
</p>
<a href="/tutorials/media-manager/" target="_blank">View Tutorial →</a>
<a href="/tutorial/media-manager/">View Tutorial →</a>
</div>
</div>

View File

@@ -8,6 +8,24 @@ server {
# Serve the index page by default
index index.html;
# Explicit location for /mongo-ops/
location /mongo-ops/ {
root /usr/share/nginx/html;
index index.html;
}
# Explicit location for /api/blog/
location /api/blog/ {
root /usr/share/nginx/html;
index index.html;
}
# Explicit location for /tutorials/
location /tutorials/ {
root /usr/share/nginx/html;
index index.html;
}
# Optional: serve static assets (CSS, JS, images)
location / {
try_files $uri $uri/ /index.html;