0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-30 22:34:10 -05:00

Amend proxy instructions for Apache

Hi.
I had issues regarding to resources when accessing Verdaccio through Apache proxy.
I found out that removing ending slashes at `ProxyPass` and `ProxyPassReverse` settings solved it.
I also set Verdaccio's config `url_prefix` to match the proxy location.
Hope it helps.
This commit is contained in:
RodrigoBalest 2017-08-07 08:44:21 -03:00 committed by GitHub
parent d7e6bae469
commit 21df66d622

View file

@ -34,8 +34,8 @@ Apache virtual server configuration
ProxyRequests Off ProxyRequests Off
ProxyPreserveHost On ProxyPreserveHost On
AllowEncodedSlashes NoDecode AllowEncodedSlashes NoDecode
ProxyPass / http://127.0.0.1:4873/ nocanon ProxyPass / http://127.0.0.1:4873 nocanon
ProxyPassReverse / http://127.0.0.1:4873/ ProxyPassReverse / http://127.0.0.1:4873
</VirtualHost> </VirtualHost>
</IfModule> </IfModule>
```` ````