mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-02 23:43:36 +00:00
remove domain_names.sort() and trailing spaces
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$NC_AIO" = "true" ] && [ ! -f /data/etc/aio.lock ]; then
|
||||
if [ "$NC_AIO" = "true" ] && [ ! -f /data/etc/aio.lock ]; then
|
||||
while [ "$(healthcheck.sh)" != "OK" ]; do sleep 10s; done
|
||||
curl -POST http://127.0.0.1:48693/nginx/proxy-hosts -sH 'Content-Type: application/json' -d '{"domain_names":["'"$NC_DOMAIN"'"],"forward_scheme":"http","forward_host":"127.0.0.1","forward_port":11000,"allow_websocket_upgrade":true,"access_list_id":"0","certificate_id":"new","ssl_forced":true,"http2_support":true,"hsts_enabled":true,"hsts_subdomains":true,"meta":{"letsencrypt_email":"","letsencrypt_agree":true,"dns_challenge":false},"advanced_config":"","locations":[],"block_exploits":false,"caching_enabled":false}' -H "Authorization: Bearer $(curl -POST http://127.0.0.1:48693/tokens -sH 'Content-Type: application/json' -d '{"identity":"admin@example.com","secret":"iArhP1j7p1P6TA92FA2FMbbUGYqwcYzxC4AVEe12Wbi94FY9gNN62aKyF1shrvG4NycjjX9KfmDQiwkLZH1ZDR9xMjiG2QmoHXi"}' | jq -r .token)"
|
||||
touch /data/etc/aio.lock
|
||||
|
@@ -2,11 +2,11 @@
|
||||
|
||||
echo "
|
||||
-------------------------------------
|
||||
_ _ ___ __ __ _
|
||||
_ _ ___ __ __ _
|
||||
| \ || . \| \ \ ___ | | _ _ ___
|
||||
| || _/| || . \| || | |[_-[
|
||||
|_\_||_| |_|_|_|| _/|_| \__|/__/
|
||||
|_|
|
||||
|_|
|
||||
-------------------------------------
|
||||
Version: $(jq -r .version /app/package.json)
|
||||
Date: $(date)
|
||||
|
@@ -140,7 +140,7 @@ tr {
|
||||
border: 0;
|
||||
}
|
||||
tr:hover td {
|
||||
color: #FFFFFF;
|
||||
color: #FFFFFF;
|
||||
background: #3D4351;
|
||||
}
|
||||
tr td:first-of-type {
|
||||
|
Reference in New Issue
Block a user