Skip to content

Commit

Permalink
update rewrite to point at puma path
Browse files Browse the repository at this point in the history
  • Loading branch information
umjnega committed Oct 29, 2024
1 parent 2db69f5 commit 9823bea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/profile/www_lib/vhosts/mgetit.pp
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
rewrites => [
{
comment => 'Serve static assets through apache',
rewrite_cond => ['/www/mgetit/current/public/$1/index.html -f [OR]', '/www/mgetit/current/public/$1 -f'],
rewrite_rule => '^/(.*)$ /www/mgetit/current/public/$1 [L]',
rewrite_cond => ['/var/local/mgetit-production/current/$1/index.html -f [OR]', '/var/local/mgetit-production/current/$1 -f'],
rewrite_rule => '^/(.*)$ /var/local/mgetit-production/current/$1 [L]',
},
{
comment => 'Reverse proxy application to app hostname and port',
Expand Down

0 comments on commit 9823bea

Please sign in to comment.