Set SERVER_NAME for copr frontend

This commit is contained in:
Jakub Kadlčík
2019-02-26 15:10:00 +01:00
parent a544c4ce73
commit 23905ab75c

View File

@@ -41,6 +41,13 @@ SEND_EMAILS = True
PUBLIC_COPR_HOSTNAME = "{{ copr_frontend_public_hostname }}"
# When running the website through apache,
# this variable is automatically set from ServerName
# in the httpd config. Setting it in this file is needed
# for manage.py purposes
SERVER_NAME = "{{ copr_frontend_public_hostname }}"
LOG_FILENAME = "/var/log/copr-frontend/frontend.log"
LOG_DIR = "/var/log/copr-frontend/"