refactor: remove comments

This commit is contained in:
Alessandro Pezzè 2019-12-18 12:59:22 +01:00
parent 3ee705ae25
commit cb413c25cf
2 changed files with 1 additions and 11 deletions

View file

@ -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;

View file

@ -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
}