Skip to content

Commit b1221a6

Browse files
committed
Remove NGINX_X_ACCEL_REDIRECT. Fixes readthedocs#1415
1 parent 6531d24 commit b1221a6

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

readthedocs/settings/postgres.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252

5353
PRODUCTION_DOMAIN = 'readthedocs.org'
5454
USE_SUBDOMAIN = True
55-
NGINX_X_ACCEL_REDIRECT = True
5655

5756
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
5857

readthedocs/settings/sqlite.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
}
3333

3434
DONT_HIT_DB = False
35-
NGINX_X_ACCEL_REDIRECT = True
3635

3736
CELERY_ALWAYS_EAGER = True
3837
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'

0 commit comments

Comments
 (0)