From 4c9cd87a943c703915c41c822df21df52aceb74c Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Sun, 3 Dec 2023 12:01:59 +0100 Subject: [PATCH] Change default configuration --- config.json | 10 +++++++--- index.html | 21 +++++++++++++++++---- 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/config.json b/config.json index 184c823..55df760 100644 --- a/config.json +++ b/config.json @@ -3,7 +3,7 @@ "port": 80, "pubport": 80, "page404": "404.html", - "timestamp": 1699810857032, + "timestamp": 1701600932028, "blacklist": [], "nonStandardCodes": [], "enableCompression": true, @@ -89,7 +89,10 @@ "dontCompress": [ "/.*\\.ipxe$/", "/.*\\.img$/", - "/.*\\.iso$/" + "/.*\\.iso$/", + "/.*\\.png$/", + "/.*\\.jpg$/", + "/.*\\.webp$/" ], "enableIPSpoofing": true, "secure": false, @@ -101,5 +104,6 @@ "rewriteDirtyURLs": true, "errorPages": [], "useWebRootServerSideScript": true, - "exposeModsInErrorPages": true + "exposeModsInErrorPages": true, + "disableTrailingSlashRedirects": false } diff --git a/index.html b/index.html index a6a3695..20c158e 100644 --- a/index.html +++ b/index.html @@ -29,7 +29,7 @@   "port": 80,
  "pubport": 80,
  "page404": "404.html",
-   "timestamp": 1680954429282,
+   "timestamp": 1701600932028,
  "blacklist": [],
  "nonStandardCodes": [],
  "enableCompression": true,
@@ -112,13 +112,26 @@     }
  ],
  "allowStatus": true,
-   "dontCompress": ["/.*\\.ipxe$/","/.*\\.img$/","/.*\\.iso$/"],
-   "enableIPSpoofing": false,
+   "dontCompress": [
+     "/.*\\.ipxe$/",
+     "/.*\\.img$/",
+     "/.*\\.iso$/",
+     "/.*\\.png$/",
+     "/.*\\.jpg$/",
+     "/.*\\.webp$/"
+   ],
+   "enableIPSpoofing": true,
  "secure": false,
  "sni": {},
  "disableNonEncryptedServer": false,
  "disableToHTTPSRedirect": false,
-   "enableETag": true
+   "enableETag": true,
+   "disableUnusedWorkerTermination": false,
+   "rewriteDirtyURLs": true,
+   "errorPages": [],
+   "useWebRootServerSideScript": true,
+   "exposeModsInErrorPages": true,
+   "disableTrailingSlashRedirects": false
}