Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d802fe9528 | |||
| 3dd8075d27 | |||
| 2c47e40dd4 | |||
| acfcc0c41b | |||
| 3538634706 | |||
| 638271b04a | |||
| 461991fb5a | |||
| 1f8f316c0b | |||
| 7386ecf041 | |||
| e4041cefa5 | |||
| fb65cc8a57 |
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
18
nginx.conf
18
nginx.conf
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user