Skip to content

Commit

Permalink
Refs #30780 - set proper content origin setting
Browse files Browse the repository at this point in the history
CONTENT_ORIGIN needs to be poitned at https:// for the
/pulp/container/ redirect to work properly
  • Loading branch information
jlsherrill authored and ehelms committed Sep 4, 2020
1 parent f7e3955 commit 8e71bbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/settings.py.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CONTENT_HOST = "<%= scope['pulpcore::servername'] %>"
CONTENT_ORIGIN = "http://<%= scope['pulpcore::servername'] %>"
CONTENT_ORIGIN = "https://<%= scope['pulpcore::servername'] %>"
SECRET_KEY = "<%= scope['pulpcore::django_secret_key'] %>"
DATABASES = {
'default': {
Expand Down

0 comments on commit 8e71bbb

Please sign in to comment.