UI - basic read fixes

This commit is contained in:
bunkerity
2020-12-11 17:03:43 +01:00
parent e6b5f460c9
commit 3a3d527907
8 changed files with 36 additions and 21 deletions

View File

@@ -13,21 +13,20 @@ services:
- ./web-files:/www:ro
- autoconf:/etc/nginx
environment:
- SERVER_NAME=admin.domain.com # replace with your domain
- SERVER_NAME=admin.website.com # replace with your domain
- MULTISITE=yes
- AUTO_LETS_ENCRYPT=yes
- REDIRECT_HTTP_TO_HTTPS=yes
- DISABLE_DEFAULT_SERVER=yes
- USE_CLIENT_CACHE=yes
- USE_GZIP=yes
- USE_BROTLI=yes
- admin.domain.com_SERVE_FILES=no
- admin.domain.com_USE_AUTH_BASIC=yes
- admin.domain.com_AUTH_BASIC_USER=admin # change it to something hard to guess
- admin.domain.com_AUTH_BASIC_PASSWORD=admin # change it to something hard to guess
- admin.domain.com_USE_REVERSE_PROXY=yes
- admin.domain.com_REVERSE_PROXY_URL=/admin/ # change it to something hard to guess
- admin.domain.com_REVERSE_PROXY_HOST=http://myui:5000/
- admin.website.com_SERVE_FILES=no
- admin.website.com_USE_AUTH_BASIC=yes
- admin.website.com_AUTH_BASIC_USER=admin # change it to something hard to guess
- admin.website.com_AUTH_BASIC_PASSWORD=admin # change it to something hard to guess
- admin.website.com_USE_REVERSE_PROXY=yes
- admin.website.com_REVERSE_PROXY_URL=/admin/ # change it to something hard to guess
- admin.website.com_REVERSE_PROXY_HOST=http://myui:5000/
labels:
- "bunkerized-nginx.UI"
@@ -37,3 +36,8 @@ services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- autoconf:/etc/nginx
environment:
- ABSOLUTE_URI=https://admin.website.com/admin/ # change it to your full URI
volumes:
autoconf: