diff --git a/roles/copr/frontend-cloud/templates/copr.conf b/roles/copr/frontend-cloud/templates/copr.conf index 501c14dbbd..ed0a3ab4d4 100644 --- a/roles/copr/frontend-cloud/templates/copr.conf +++ b/roles/copr/frontend-cloud/templates/copr.conf @@ -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/"