pagure / staging: set letsencrypt proxy to allow for getting cert.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-09-20 21:41:45 +00:00 committed by Pierre-Yves Chibon
parent 42335b7370
commit 55f447a465

View file

@ -11,6 +11,7 @@ WSGIDaemonProcess paguredocs user=git group=git maximum-requests=1000 display-na
<VirtualHost *:80>
{% if env == 'pagure-staging' %}
ServerName stg.pagure.io
ProxyPass "/.well-known/acme-challenge" "http://certgetter01/.well-known/acme-challenge"
Redirect permanent / https://stg.pagure.io/
{% else %}
ServerName pagure.io