浏览代码

add setup file for nginx-proxy-manager that fixes an issue with the config.json file being a file instead of a folder.

Robert Middleswarth 3 年之前
父节点
当前提交
32d9502b7c
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      rpi_nginx-proxy-manager.sh

+ 8 - 0
rpi_nginx-proxy-manager.sh

@@ -0,0 +1,8 @@
+#!/bin/sh
+echo "creating directories"
+sudo mkdir -p /portainer/Files/AppData/Config/nginx-proxy-manager/data
+sudo mkdir -p /portainer/Files/AppData/Config/nginx-proxy-manager/letsencrypt
+sudo mkdir -p /portainer/Files/AppData/Config/nginx-proxy-manager/database
+echo "Creating a blank nginx-proxy-manager config files"
+sudo touch /portainer/Files/AppData/Config/nginx-proxy-manager/config.json
+echo "done you can now install the stack"