mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:21:10 +02:00
fix(landings-nginx): mkdir snippets before copy, add status.mana.how vhost
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
cc242d9e00
commit
86c2abb00d
1 changed files with 3 additions and 2 deletions
|
|
@ -107,8 +107,9 @@ services:
|
|||
- ./docker/nginx:/etc/nginx/host-config:ro
|
||||
- /Volumes/ManaData/landings:/srv/landings:ro
|
||||
command: >
|
||||
sh -c "cp /etc/nginx/host-config/landings.conf /etc/nginx/conf.d/default.conf &&
|
||||
cp -r /etc/nginx/host-config/snippets/* /etc/nginx/snippets/ 2>/dev/null;
|
||||
sh -c "mkdir -p /etc/nginx/snippets &&
|
||||
cp /etc/nginx/host-config/landings.conf /etc/nginx/conf.d/default.conf &&
|
||||
cp /etc/nginx/host-config/snippets/* /etc/nginx/snippets/ &&
|
||||
nginx -g 'daemon off;'"
|
||||
ports:
|
||||
- "4400:80"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue