mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
fix: demo nginx config
This commit is contained in:
parent
191b6bae10
commit
0d5a1f3a8c
2 changed files with 4 additions and 2 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -18,6 +18,8 @@ on:
|
||||||
- "resources/docker/docker/*"
|
- "resources/docker/docker/*"
|
||||||
- "resources/development/*"
|
- "resources/development/*"
|
||||||
- "resources/demo/*"
|
- "resources/demo/*"
|
||||||
|
- "Dockerfile"
|
||||||
|
- "demo.Dockerfile"
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [ opened, synchronize, reopened ]
|
types: [ opened, synchronize, reopened ]
|
||||||
paths:
|
paths:
|
||||||
|
|
|
@ -16,8 +16,8 @@ RUN echo 'longrun' > /etc/s6-overlay/s6-rc.d/nginx-ui/type && \
|
||||||
touch /etc/s6-overlay/s6-rc.d/user/contents.d/nginx-ui
|
touch /etc/s6-overlay/s6-rc.d/user/contents.d/nginx-ui
|
||||||
|
|
||||||
# copy nginx config
|
# copy nginx config
|
||||||
COPY resources/docker/nginx.conf /usr/local/etc/nginx/nginx.conf
|
COPY resources/docker/nginx.conf /etc/nginx/nginx.conf
|
||||||
COPY resources/docker/nginx-ui.conf /usr/local/etc/nginx/conf.d/nginx-ui.conf
|
COPY resources/docker/nginx-ui.conf /etc/nginx/conf.d/nginx-ui.conf
|
||||||
|
|
||||||
# copy nginx-ui executable binary
|
# copy nginx-ui executable binary
|
||||||
COPY nginx-ui-$TARGETOS-$TARGETARCH$TARGETVARIANT/nginx-ui /usr/local/bin/nginx-ui
|
COPY nginx-ui-$TARGETOS-$TARGETARCH$TARGETVARIANT/nginx-ui /usr/local/bin/nginx-ui
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue