Skip to content

Commit

Permalink
Update formatting in the settings.md file
Browse files Browse the repository at this point in the history
  • Loading branch information
git-hyagi committed Jan 10, 2025
1 parent 6e35d29 commit 9129d11
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
12 changes: 7 additions & 5 deletions docs/admin/reference/settings.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Settings

There is one required settings, although specific plugins may have additional required
There is one required setting, although specific plugins may have additional required
settings.

- `SECRET_KEY <secret-key-setting>`
Expand Down Expand Up @@ -196,11 +196,13 @@ this setting only applies to uploads created after the change.

### CONTENT_ORIGIN

A string containing the protocol, fqdn, and port where the content app is reachable by
users. This is used by `pulpcore` and various plugins when referring users to the content app.
A string containing the protocol, fqdn, and port where the content app is reachable by users.
This is used by `pulpcore` and various plugins when referring users to the content app.
For example if the API should refer users to content at using http to pulp.example.com on port
24816, (the content default port), you would set: `http://pulp.example.com:24816`. The default is
`None`. When set to `None`, the API returns relative URLs (without the protocol, fqdn, and port).
24816, (the content default port), you would set: `https://pulp.example.com:24816`. The default is `None`.
When set to `None`, the `base_url` for Distributions is a relative path.
This means the API returns relative URLs without the protocol, fqdn, and port.


### HIDE_GUARDED_DISTRIBUTIONS

Expand Down
1 change: 1 addition & 0 deletions template_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ pulp_settings:
tmpfile_protection_time: 10
upload_protection_time: 10
pulp_settings_azure:
content_origin: null
api_root_rewrite_header: X-API-Root
domain_enabled: true
rest_framework__default_permission_classes:
Expand Down

0 comments on commit 9129d11

Please sign in to comment.