fixes
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-11-02 01:55:00 +05:30
parent 28ac011dce
commit 09405a3315

View File

@@ -1,15 +1,24 @@
server {
listen 80;
server_name docs.aetoskia.com;
server_name _; # default catch-all
# Root for the main landing page
root /usr/share/nginx/html;
# Serve the index page by default
index index.html;
# Explicit location for /mongo-ops/
location /mongo-ops/ {
alias /srv/docs/mongo-ops/site/;
root /usr/share/nginx/html;
index index.html;
}
# Optional: main landing page
# Optional: serve static assets (CSS, JS, images)
location / {
alias /srv/docs/_index/;
index index.html;
try_files $uri $uri/ /index.html;
}
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
}