Skip to content

Commit

Permalink
Merge pull request #8685 from cfpb/fix-proxy-conf
Browse files Browse the repository at this point in the history
Fix Apache proxy config
  • Loading branch information
willbarton authored Dec 12, 2024
2 parents 7e9e09f + e14502d commit 2211bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cfgov/apache/conf.d/proxy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
# application is moved to Gunicorn.
ServerName https://www.consumerfinance.gov

# RewriteCond expr "-n env('CFGOV_APPLICATION_HOST')"
RewriteCond expr "-n env('CFGOV_APPLICATION_HOST')"
RewriteRule ^/(.*)$ http://${CFGOV_APPLICATION_HOST}:8000/$1 [P]
ProxyPassReverse / http://${CFGOV_APPLICATION_HOST}:8000/

0 comments on commit 2211bd6

Please sign in to comment.