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:
parent
d7e6bae469
commit
21df66d622
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ Apache virtual server configuration
|
|||
ProxyRequests Off
|
||||
ProxyPreserveHost On
|
||||
AllowEncodedSlashes NoDecode
|
||||
ProxyPass / http://127.0.0.1:4873/ nocanon
|
||||
ProxyPassReverse / http://127.0.0.1:4873/
|
||||
ProxyPass / http://127.0.0.1:4873 nocanon
|
||||
ProxyPassReverse / http://127.0.0.1:4873
|
||||
</VirtualHost>
|
||||
</IfModule>
|
||||
````
|
||||
|
|
Loading…
Reference in a new issue