add favicon to web UI and fix some tech docs

This commit is contained in:
bunkerity 2021-08-12 17:28:13 +02:00
parent 31536a3fe2
commit 4a9d64d9d9
No known key found for this signature in database
GPG Key ID: 3D80806F12602A7C
4 changed files with 8 additions and 6 deletions

View File

@ -128,15 +128,15 @@ $ docker volume create bunkerized-vol
You can now create the bunkerized-nginx container : You can now create the bunkerized-nginx container :
```shell ```shell
$ docker create \ $ docker run \
--name mybunkerized \ --name mybunkerized \
-l bunkerized-nginx.AUTOCONF \ -l bunkerized-nginx.AUTOCONF \
--network services-net \ --network services-net \
-p 80:8080 \ -p 80:8080 \
-p 443:8443 \ -p 443:8443 \
-v "${PWD}/www:/www:ro" \ -v "${PWD}/www:/www:ro" \
-v "${PWD}/certs:/etc/letsencrypt:ro" \ -v "${PWD}/certs:/etc/letsencrypt" \
-v bunkerized-vol:/etc/nginx:ro \ -v bunkerized-vol:/etc/nginx \
-e MULTISITE=yes \ -e MULTISITE=yes \
-e SERVER_NAME= \ -e SERVER_NAME= \
-e AUTO_LETS_ENCRYPT=yes \ -e AUTO_LETS_ENCRYPT=yes \
@ -188,7 +188,7 @@ services:
- mybunkerized - mybunkerized
volumes: volumes:
autoconf: bunkerized-vol:
networks: networks:
services-net: services-net:
@ -226,7 +226,7 @@ services:
myservice: myservice:
image: tutum/hello-world image: tutum/hello-world
networks: networks:
myservice: services-net:
aliases: aliases:
- myservice - myservice
labels: labels:
@ -265,7 +265,7 @@ First of all, you will need to setup the shared folders :
```shell ```shell
$ cd /shared $ cd /shared
$ mkdir www confs letsencrypt acme-challenge $ mkdir www confs letsencrypt acme-challenge
$ chown root:nginx www confs letsencrypt acme-challenge $ chown root:101 www confs letsencrypt acme-challenge
$ chmod 770 www confs letsencrypt acme-challenge $ chmod 770 www confs letsencrypt acme-challenge
``` ```

BIN
ui/static/img/favicon16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 551 B

BIN
ui/static/img/favicon32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -6,6 +6,8 @@
<meta name="author" content="bunkerity"> <meta name="author" content="bunkerity">
<title>bunkerized-nginx-ui - {{ title }}</title> <title>bunkerized-nginx-ui - {{ title }}</title>
<!-- TODO : favicon --> <!-- TODO : favicon -->
<link rel="icon" type="image/png" href="img/favicon16.png" sizes="16x16">
<link rel="icon" type="image/png" href="img/favicon32.png" sizes="32x32">
<link href="css/bootstrap.min.css" rel="stylesheet"> <link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/fa.min.css" rel="stylesheet"> <link href="css/fa.min.css" rel="stylesheet">
<link href="css/custom.css" rel="stylesheet"> <link href="css/custom.css" rel="stylesheet">