File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,14 @@ All notable changes to this package will be documented in this file.
4
4
5
5
The format is based on [ Keep a Changelog] [ keepachangelog ] and this project adheres to [ Semantic Versioning] [ semver ] .
6
6
7
+ ## v1.3.1
8
+
9
+ ### Fixed
10
+
11
+ - ` can't create directory '/opt/html/nginx-error-pages' ` error [ #3 ]
12
+
13
+ [ #3 ] :https://github.com/tarampampam/error-pages/issues/3
14
+
7
15
## v1.3.0
8
16
9
17
### Added
Original file line number Diff line number Diff line change @@ -12,6 +12,11 @@ if [ -n "$TEMPLATE_NAME" ]; then
12
12
13
13
ln -f -s " /opt/html/$TEMPLATE_NAME /" * /opt/html;
14
14
15
+ # on `docker restart` next directory keep existing: <https://github.com/tarampampam/error-pages/issues/3>
16
+ if [ -d /opt/html/nginx-error-pages ]; then
17
+ rm -Rf /opt/html/nginx-error-pages;
18
+ fi ;
19
+
15
20
# next directory is required for easy nginx `error_page` usage
16
21
mkdir /opt/html/nginx-error-pages;
17
22
ln -f -s " /opt/html/$TEMPLATE_NAME /" * /opt/html/nginx-error-pages;
You can’t perform that action at this time.
0 commit comments