Explorar o código

Update nginxproxymanager.sh

Python interpreter will include packages installed in the global site-packages.
tteckster %!s(int64=2) %!d(string=hai) anos
pai
achega
d0ccf41b59
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      ct/nginxproxymanager.sh

+ 1 - 0
ct/nginxproxymanager.sh

@@ -164,6 +164,7 @@ EOF
 
   msg_info "Starting Services"
   sed -i -e 's/^pid/#pid/' -e 's/npmuser/root/' /usr/local/openresty/nginx/conf/nginx.conf
+  sed -i 's/include-system-site-packages = false/include-system-site-packages = true/g' /opt/certbot/pyvenv.cfg
   systemctl enable npm &>/dev/null
   systemctl start openresty
   systemctl start npm