mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-10 06:04:18 +00:00
refactor: remove comments
This commit is contained in:
parent
3ee705ae25
commit
cb413c25cf
2 changed files with 1 additions and 11 deletions
|
@ -38,8 +38,6 @@ http {
|
|||
server app:8000 fail_timeout=0;
|
||||
}
|
||||
|
||||
# limit_req_zone $binary_remote_addr zone=api:10m rate=2r/s;
|
||||
|
||||
server {
|
||||
listen 80 deferred;
|
||||
server_name _;
|
||||
|
@ -72,8 +70,6 @@ http {
|
|||
add_header Cache-Control "public";
|
||||
add_header Pragma public;
|
||||
|
||||
# limit_req zone=api burst=10;
|
||||
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host $http_host;
|
||||
|
|
|
@ -126,11 +126,5 @@ REST_FRAMEWORK = {
|
|||
|
||||
'PAGE_SIZE': 20,
|
||||
|
||||
'PAGINATE_BY': 20,
|
||||
# 'DEFAULT_THROTTLE_CLASSES': (
|
||||
# 'rest_framework.throttling.AnonRateThrottle',
|
||||
# ),
|
||||
# 'DEFAULT_THROTTLE_RATES': {
|
||||
# 'anon': '1000/hour'
|
||||
# }
|
||||
'PAGINATE_BY': 20
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue