Hi All
currently I am using apache and proxy for my latest Meteor project. The problem is that the images I need to include in public folde are very large and slow to serve with the node server. I know how to do this in NginX but I can’t find a good recipe to serve the files from the bundle/programs/web.browser
folder directly instead of passing true the proxy.
Did someone already played with FilesMatch
in the Apache virtualhost conf ?
Please throw me a bone
Here is my virtualhost conf (with a correct domain name of course)
<VirtualHost *:80>
ServerName my-project.com
Header set Access-Control-Allow-Origin "*"
ProxyPassMatch /(.*)/websocket ws://127.0.0.1:3000/$1/websocket
ProxyPassReverse /(.*)/websocket ws://127.0.0.1:3000/$1/websocket
ProxyPass / http://127.0.0.1:3000/
ProxyPassReverse / http://127.0.0.1:3000/
</VirtualHost>
And no I can not have NginX on this platform
Thanks for your time and help