mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
chore(demo): update config
This commit is contained in:
parent
df899fe621
commit
acf2d13ded
2 changed files with 16 additions and 0 deletions
|
@ -6,7 +6,9 @@ ARG TARGETVARIANT
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
|
# copy demo config
|
||||||
COPY resources/demo/ojbk.me /etc/nginx/sites-available/ojbk.me
|
COPY resources/demo/ojbk.me /etc/nginx/sites-available/ojbk.me
|
||||||
|
RUN ln -s /etc/nginx/sites-available/ojbk.me /etc/nginx/sites-enabled/ojbk.me
|
||||||
COPY resources/demo/app.ini /etc/nginx-ui/app.ini
|
COPY resources/demo/app.ini /etc/nginx-ui/app.ini
|
||||||
COPY resources/demo/demo.db /etc/nginx-ui/database.db
|
COPY resources/demo/demo.db /etc/nginx-ui/database.db
|
||||||
|
|
||||||
|
@ -18,6 +20,7 @@ RUN echo 'longrun' > /etc/s6-overlay/s6-rc.d/nginx-ui/type && \
|
||||||
# copy nginx config
|
# copy nginx config
|
||||||
COPY resources/docker/nginx.conf /etc/nginx/nginx.conf
|
COPY resources/docker/nginx.conf /etc/nginx/nginx.conf
|
||||||
COPY resources/docker/nginx-ui.conf /etc/nginx/conf.d/nginx-ui.conf
|
COPY resources/docker/nginx-ui.conf /etc/nginx/conf.d/nginx-ui.conf
|
||||||
|
COPY resources/demo/stub_status_nginx-ui.conf /etc/nginx/conf.d/stub_status_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
|
||||||
|
|
13
resources/demo/stub_status_nginx-ui.conf
Normal file
13
resources/demo/stub_status_nginx-ui.conf
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# DO NOT EDIT THIS FILE, IT IS AUTO GENERATED BY NGINX-UI
|
||||||
|
# Nginx stub_status configuration for Nginx-UI
|
||||||
|
# Modified at 2025-04-11 08:26:43
|
||||||
|
server {
|
||||||
|
listen 51820;
|
||||||
|
server_name localhost;
|
||||||
|
# Status monitoring interface
|
||||||
|
location /stub_status {
|
||||||
|
stub_status;
|
||||||
|
allow 127.0.0.1;
|
||||||
|
deny all;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue