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: If

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 a

Error 403 when proxying with Nginx

2017-08-12 Thread Martin Pola
Hello, I am trying to access Archiva through HTTPS, and from what I have understood the easiest way to accomplish that is by having another, HTTPS-enabled, web server acting as a proxy. My Archiva instance listens on 127.0.0.1:8080 and my Nginx server block looks like this: server {