1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-09-20 15:22:40 +02:00

Add the ALLOWED_HOSTS configuration

Patchwork needs the correct ALLOWED_HOSTS configuration in order
to be able to serve requests. We are using the patchwork domain
variable for this.
This commit is contained in:
Giancarlo Razzolini 2017-06-27 15:15:21 -03:00
parent 07d43cc29f
commit 11c0871b42
No known key found for this signature in database
GPG Key ID: F22FB1D78A77AEAB

View File

@ -78,3 +78,5 @@ DATABASES = {
STATIC_ROOT = '{{ patchwork_dir }}/htdocs/static'
TIME_ZONE = 'UTC'
ALLOWED_HOSTS = ['{{ patchwork_domain }}']