Re: Error 403 when proxying with Nginx

2017-08-14 Thread Martin Pola
I didn't receive the reply from Mr. Lamy, but I was able to read it in the WWW archives of this mailing list. Thanks to both of you! It looks like the issue was caused by Archiva's CSRF prevention filter. Setting rest.baseUrl resolved the it. - Martin On lördag 12 augusti 2017 kl. 13:39:33

Re: Error 403 when proxying with Nginx

2017-08-12 Thread Martin
Hi Martin, do you use the current version? Archiva 2.2.3? There is a CSRF-prevention filter active. You have to add the URL of your nginx server to the rest.baseUrl field (you may set a comma separated list for multiple URLs). See http://archiva.apache.org/docs/2.2.3/release-notes.html Note:

Re: Error 403 when proxying with Nginx

2017-08-12 Thread Olivier Lamy
Hi Which Archiva version are you using? Do you have anything in Archiva logs? In your archiva.xml you should have some elements such false true true See the details here: http://archiva.apache.org/redback/configuration.html#REST_security_settings HTH Olivier On 12 August 2017