mirror of
https://github.com/Erreur32/nginx-proxy-manager-Bash-API.git
synced 2024-12-22 21:42:10 +01:00
First Update
This commit is contained in:
parent
535fa68d6c
commit
ed49b2150e
1 changed files with 3 additions and 2 deletions
|
@ -36,8 +36,9 @@ WHITE_ON_GREEN="\033[97m\033[42m"
|
||||||
# API Endpoints
|
# API Endpoints
|
||||||
BASE_URL="http://$NGINX_IP:81/api"
|
BASE_URL="http://$NGINX_IP:81/api"
|
||||||
API_ENDPOINT="/tokens"
|
API_ENDPOINT="/tokens"
|
||||||
EXPIRY_FILE="expiry.txt"
|
EXPIRY_FILE="expiry_${NGINX_IP}.txt"
|
||||||
TOKEN_FILE="token.txt"
|
TOKEN_FILE="token_${NGINX_IP}.txt"
|
||||||
|
# Change Time velidity here
|
||||||
TOKEN_EXPIRY="1y"
|
TOKEN_EXPIRY="1y"
|
||||||
|
|
||||||
# Default variables
|
# Default variables
|
||||||
|
|
Loading…
Reference in a new issue