Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion proxy-manager/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"boot": "auto",
"hassio_api": true,
"hassio_role": "default",
"map": ["ssl:rw"],
"map": ["ssl:rw","share:ro"],
"options": {},
"schema": {
"log_level": "list(trace|debug|info|notice|warning|error|fatal)?"
Expand Down
6 changes: 6 additions & 0 deletions proxy-manager/rootfs/etc/cont-init.d/npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ fi

ln -sf /ssl/nginxproxymanager /etc/letsencrypt

if bashio::fs.directory_exists "/share/npm"; then
bashio::log.info "Adding link to /share/npm for custom config files"
rm -f /data/nginx/custom || true
ln -sf /share/npm /data/nginx/custom
fi

# NGinx needs this file to be able to start.
# It will not continously log into it.
mkdir -p /var/lib/nginx/logs
Expand Down