chore(demo): update config

This commit is contained in:
Jacky 2025-04-11 08:50:59 +00:00
parent df899fe621
commit acf2d13ded
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
2 changed files with 16 additions and 0 deletions

View file

@ -6,7 +6,9 @@ ARG TARGETVARIANT
WORKDIR /app
EXPOSE 80
# copy demo config
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/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 resources/docker/nginx.conf /etc/nginx/nginx.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-$TARGETOS-$TARGETARCH$TARGETVARIANT/nginx-ui /usr/local/bin/nginx-ui

View 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;
}
}