pagure /staging: Fix up some redirects/proxies for letsencrypt
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
eeef43f271
commit
a32700a219
1 changed files with 4 additions and 3 deletions
|
@ -21,6 +21,7 @@ WSGIDaemonProcess paguredocs user=git group=git maximum-requests=1000 display-na
|
|||
<VirtualHost *:80>
|
||||
{% if env == 'pagure-staging' %}
|
||||
ServerName docs.stg.pagure.org
|
||||
ProxyPass "/.well-known/acme-challenge" "http://certgetter01/.well-known/acme-challenge"
|
||||
Redirect permanent / https://docs.stg.pagure.org/
|
||||
{% else %}
|
||||
ServerName docs.pagure.org
|
||||
|
@ -31,19 +32,19 @@ WSGIDaemonProcess paguredocs user=git group=git maximum-requests=1000 display-na
|
|||
<VirtualHost *:80>
|
||||
{% if env == 'pagure-staging' %}
|
||||
ServerName releases.stg.pagure.org
|
||||
#Redirect permanent / https://releases.stg.pagure.org/
|
||||
ProxyPass "/.well-known/acme-challenge" "http://certgetter01/.well-known/acme-challenge"
|
||||
Redirect permanent / https://releases.stg.pagure.org/
|
||||
{% else %}
|
||||
ServerName releases.pagure.org
|
||||
#Redirect permanent / https://releases.pagure.org/
|
||||
Redirect permanent / https://releases.pagure.org/
|
||||
{% endif %}
|
||||
</VirtualHost>
|
||||
|
||||
<VirtualHost *:80>
|
||||
{% if env == 'pagure-staging' %}
|
||||
ServerName stg.pagure.org
|
||||
#Redirect permanent / https://releases.stg.pagure.org/
|
||||
ProxyPass "/.well-known/acme-challenge" "http://certgetter01/.well-known/acme-challenge"
|
||||
Redirect permanent / https://releases.stg.pagure.org/
|
||||
{% else %}
|
||||
ServerName pagure.org
|
||||
#Redirect permanent / https://releases.pagure.org/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue