Fix https doc urls for PDC.
https://pagure.io/fedora-infrastructure/issue/6122
This commit is contained in:
parent
3c596b38cf
commit
5752ba7fcb
2 changed files with 0 additions and 9 deletions
|
@ -310,13 +310,6 @@
|
||||||
website: pdc.fedoraproject.org
|
website: pdc.fedoraproject.org
|
||||||
destname: pdc
|
destname: pdc
|
||||||
proxyurl: http://localhost:10045
|
proxyurl: http://localhost:10045
|
||||||
when: env != 'staging'
|
|
||||||
|
|
||||||
- role: httpd/reverseproxy
|
|
||||||
website: pdc.fedoraproject.org
|
|
||||||
destname: pdc
|
|
||||||
proxyurl: http://localhost:10045
|
|
||||||
when: env == 'staging'
|
|
||||||
header_scheme: true
|
header_scheme: true
|
||||||
tags: pdc
|
tags: pdc
|
||||||
|
|
||||||
|
|
|
@ -103,10 +103,8 @@ REST_API_VERSION = 'v1'
|
||||||
# https://github.com/product-definition-center/product-definition-center/issues/352
|
# https://github.com/product-definition-center/product-definition-center/issues/352
|
||||||
USE_X_FORWARDED_HOST = True
|
USE_X_FORWARDED_HOST = True
|
||||||
|
|
||||||
{% if env == 'staging' %}
|
|
||||||
# https://pagure.io/fedora-infrastructure/issue/6122
|
# https://pagure.io/fedora-infrastructure/issue/6122
|
||||||
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
|
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
BROWSABLE_DOCUMENT_MACROS = {
|
BROWSABLE_DOCUMENT_MACROS = {
|
||||||
# need to be rewrite with the real host name when deploy.
|
# need to be rewrite with the real host name when deploy.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue