Merge branch 'staging' of github.com:bunkerity/bunkerweb into staging

This commit is contained in:
bunkerity 2023-03-29 10:46:02 +02:00
commit dd2c8cbcd1
2 changed files with 4 additions and 2 deletions

View File

@ -98,6 +98,8 @@ try:
bunkernet_id = Path("/var/cache/bunkerweb/bunkernet/instance.id").read_text()
logger.info(f"Already registered on BunkerNet API with instance id {get_id()}")
sleep(1)
# Ping
logger.info("Checking connectivity with BunkerNet API ...")
bunkernet_ping = False

View File

@ -35,10 +35,10 @@
"ALLOWED_METHODS": {
"context": "multisite",
"default": "GET|POST|HEAD",
"help": "Allowed HTTP methods, separated with pipes to be sent by clients.",
"help": "Allowed HTTP and WebDAV methods, separated with pipes to be sent by clients.",
"id": "allowed-methods",
"label": "Allowed methods",
"regex": "^(?!\\|)(\\|?(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH)(?!.*\\2))+$",
"regex": "^(?!\\|)(\\|?(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH|COPY|LOCK|MKCOL|MOVE|PROPFIND|PROPPATCH|UNLOCK)(?!.*\\2))+$",
"type": "text"
},
"MAX_CLIENT_SIZE": {