diff --git a/roles/pagure/frontend/templates/0_pagure.conf b/roles/pagure/frontend/templates/0_pagure.conf index df3ea88be6..cf49f387e8 100644 --- a/roles/pagure/frontend/templates/0_pagure.conf +++ b/roles/pagure/frontend/templates/0_pagure.conf @@ -24,20 +24,25 @@ #TODO: move this to 443 when we have the ssl certs - + + {% if env == 'pagure-staging' %} + ServerName docs.stg.pagure.org + {% else %} + ServerName docs.pagure.org + {% endif %} - - WSGIProcessGroup pagure - - # Apache 2.4 - Require all granted - - - # Apache 2.2 - Order deny,allow - Allow from all - - + + WSGIProcessGroup pagure + + # Apache 2.4 + Require all granted + + + # Apache 2.2 + Order deny,allow + Allow from all + +