Set up multisite Dokploy deployment
Some checks are pending
Build / build (push) Waiting to run

This commit is contained in:
Neeldhara Misra 2026-06-13 19:45:59 +02:00
parent 56f49d988d
commit 80c51bdfea
75 changed files with 383 additions and 1838 deletions

36
deploy/nginx.conf Normal file
View file

@ -0,0 +1,36 @@
map $host $blog_site {
default research;
research.neeldhara.blog research;
vibes.neeldhara.blog vibes;
puzzles.neeldhara.blog puzzles;
reflections.neeldhara.blog reflections;
poetry.neeldhara.blog poetry;
reviews.neeldhara.blog reviews;
art.neeldhara.blog art;
}
server {
listen 80 default_server;
server_name _;
root /usr/share/nginx/html/$blog_site;
index index.html;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log warn;
location = /nginx-health {
access_log off;
return 204;
}
location ~* \.(?:css|js|mjs|png|jpg|jpeg|gif|svg|webp|ico|woff2?)$ {
try_files $uri =404;
expires 1y;
add_header Cache-Control "public, immutable";
}
location / {
try_files $uri $uri/ /404.html;
}
}