Skip to content

Commit

Permalink
Merge pull request #114 from carbonin/add_no_escape_to_ansible_rewrit…
Browse files Browse the repository at this point in the history
…e_rule

Add NE to the ansible api rewrite rule
  • Loading branch information
jrafanie authored Mar 22, 2017
2 parents c956e69 + 8a95682 commit daf5812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion COPY/etc/httpd/conf.d/manageiq-redirects-ansible
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# add a trailing slash to all requests to the ansible api
RewriteCond %{REQUEST_URI} ^/ansibleapi
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ $1/ [R,L]
RewriteRule ^(.*)$ $1/ [R,NE,L]

ProxyPass /ansibleapi/ http://localhost:54321/api/
ProxyPassReverse /ansibleapi/ http://localhost:54321/api/

0 comments on commit daf5812

Please sign in to comment.