mirror of
https://github.com/deunix-educ/PyQuest.git
synced 2026-11-25 08:19:44 +01:00
Add Django administration for author accounts: Auteurs group, use_editor permission, grant/revoke actions, shared login throttling
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -13,9 +13,11 @@
|
||||
# Fichiers à copier dans /etc/nginx/snippets/ : pyquest-locations.conf (depuis pyquest-locations.conf.example) et
|
||||
# pyquest-author-headers.conf (depuis pyquest-author-headers.conf.example).
|
||||
|
||||
# Limites de débit (contexte http, hors bloc server) : synchronisation 30 req/min, connexion 6 req/min par IP.
|
||||
# Limites de débit (contexte http, hors bloc server), par IP : synchronisation 30 req/min, connexion à l'éditeur
|
||||
# 6 req/min, administration 60 req/min.
|
||||
limit_req_zone $binary_remote_addr zone=pyquest_sync:10m rate=30r/m;
|
||||
limit_req_zone $binary_remote_addr zone=pyquest_login:10m rate=6r/m;
|
||||
limit_req_zone $binary_remote_addr zone=pyquest_admin:10m rate=60r/m;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
Reference in New Issue
Block a user