fuel-library/deployment/puppet/nailgun/templates/httpd_nailgun.conf.erb
Matthew Mosesohn d60233a0cb Add apache redirects for Fuel web
Change-Id: Id6b461ffd4c2b3b79305a24c226ad8499801c386
Closes-Bug: #1270187
2014-01-27 14:38:16 +04:00

6 lines
216 B
Plaintext

# Force everything except cobbler and nailgun dir to port 8000
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} !^/(cblr|cobbler)
RewriteRule (.*) http://%{HTTP_HOST}:8000%{REQUEST_URI} [R=301,L]