Copy default site assets to Nginx web root
Some checks are pending
Build / build (push) Waiting to run
Some checks are pending
Build / build (push) Waiting to run
This commit is contained in:
parent
64a9ce84d4
commit
045e1e301f
2 changed files with 9 additions and 8 deletions
|
|
@ -12,7 +12,8 @@ FROM nginx:1.27-alpine AS runtime
|
|||
|
||||
COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY deploy/blog-locations.conf /etc/nginx/snippets/blog-locations.conf
|
||||
COPY --from=build /app/dist /usr/share/nginx/html
|
||||
COPY --from=build /app/dist /usr/share/nginx/sites
|
||||
COPY --from=build /app/dist/research /usr/share/nginx/html
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
|
|
|
|||
|
|
@ -1,48 +1,48 @@
|
|||
server {
|
||||
listen 80 default_server;
|
||||
server_name research.neeldhara.blog research.neeldhara.email _;
|
||||
root /usr/share/nginx/html/research;
|
||||
root /usr/share/nginx/sites/research;
|
||||
include /etc/nginx/snippets/blog-locations.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name vibes.neeldhara.blog vibes.neeldhara.email;
|
||||
root /usr/share/nginx/html/vibes;
|
||||
root /usr/share/nginx/sites/vibes;
|
||||
include /etc/nginx/snippets/blog-locations.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name puzzles.neeldhara.blog puzzles.neeldhara.email;
|
||||
root /usr/share/nginx/html/puzzles;
|
||||
root /usr/share/nginx/sites/puzzles;
|
||||
include /etc/nginx/snippets/blog-locations.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name reflections.neeldhara.blog reflections.neeldhara.email;
|
||||
root /usr/share/nginx/html/reflections;
|
||||
root /usr/share/nginx/sites/reflections;
|
||||
include /etc/nginx/snippets/blog-locations.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name poetry.neeldhara.blog poetry.neeldhara.email;
|
||||
root /usr/share/nginx/html/poetry;
|
||||
root /usr/share/nginx/sites/poetry;
|
||||
include /etc/nginx/snippets/blog-locations.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name reviews.neeldhara.blog reviews.neeldhara.email;
|
||||
root /usr/share/nginx/html/reviews;
|
||||
root /usr/share/nginx/sites/reviews;
|
||||
include /etc/nginx/snippets/blog-locations.conf;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name art.neeldhara.blog art.neeldhara.email;
|
||||
root /usr/share/nginx/html/art;
|
||||
root /usr/share/nginx/sites/art;
|
||||
include /etc/nginx/snippets/blog-locations.conf;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue