Update security middleware and update Docker configurations
- Added a new parameter to the SecurityMiddleware function to allow custom handling of forbidden requests. - Updated Docker configurations to enable asset caching for improved performance. - Bumped version number in the Dockerfile to 0.3.0 and refined the image description for clarity. - Adjusted various frontend components and error handling to support new rate limiting and forbidden access messages. - Improved documentation in multiple languages to reflect recent changes in features and security measures.
This commit is contained in:
@@ -12,6 +12,7 @@ services:
|
||||
- GITEA_SERVER=${GITEA_SERVER:-https://git.quad4.io}
|
||||
- CONFIG_PATH=/app/data/software.txt
|
||||
- UA_BLOCKLIST_PATH=/app/data/ua-blocklist.txt
|
||||
- CACHE_ASSETS=true
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user