Skip to content

Instantly share code, notes, and snippets.

@CalvinHartwell
Created January 12, 2016 10:05
Show Gist options
  • Save CalvinHartwell/0f64e82949f225e0c8aa to your computer and use it in GitHub Desktop.
Save CalvinHartwell/0f64e82949f225e0c8aa to your computer and use it in GitHub Desktop.
Satellite 6 API via Capsule 443
25-pulp-node-ssl (config file for httpd pulp)
25-pulp-node-ssl.d (directory for files)
/etc/httpd/conf.d/25-pulp-node-ssl.d/
RewriteEngine on
RewriteRule "^/api/(.*)$" "https://fqdn_replace_me/api/$1" [P]
ProxyPassReverse "/api/" "https://fqdn_replace_me/api/"
RewriteRule "^/katello/api/(.*)$" "https://fqdn_replace_me/katello/api/$1" [P]
ProxyPassReverse "/katello/api/" "https://fqdn_replace_me/katello/api/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment