domain error

This commit is contained in:
qiaofeng1227 2023-06-03 11:27:45 +08:00
parent 5da0741e37
commit e5916de9c9
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ COPY static ./static
COPY requirements.txt main.py ./
RUN apt update
# Install supervisords
# Install supervisord
RUN apt install -y supervisor
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY config/cmd.sh /cmd.sh

View file

@ -975,7 +975,7 @@ def check_real_domain(domain):
def get_token():
url = 'http://172.17.0.1:9092/api/tokens'
headers = {'Content-type': 'application/json'}
cmd = "cat /usr/share/cockpit/appstore/config.json | jq -r '.NGINXPROXYMANAGER.NGINXPROXYMANAGER_PASSWORD'"
cmd = "cat /usr/share/cockpit/myapps/config.json | jq -r '.NGINXPROXYMANAGER.NGINXPROXYMANAGER_PASSWORD'"
password = shell_execute.execute_command_output_all(cmd)["result"].rstrip('\n')
myLogger.info_logger(password)
param = {