[RESOLVED] ADSelfService Plus in a subdirectory from reverse proxy (nginx)

[RESOLVED] ADSelfService Plus in a subdirectory from reverse proxy (nginx)

I have a website "example.org" and I want to add ADSelfService Plus to this website under "example.org/password".
The problem I have is that I cannot make the configuration work. 

If I make it available from "example.org", everything works as it should. 
The moment I have it through "/password" I cannot log in or access any css files, only the indez page shows up. 

I have a rewrite url in IIS on the ADSS+ server so that it is avaible from http://serverip:80
Then I have the reverse proxy on another server (nginx) which has this config for ADSS+ :
location /password/ {
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_pass http://serverip/;
        proxy_connect_timeout 380s;
        proxy_http_version 1.1;
        proxy_set_header        Upgrade $http_upgrade;
        proxy_set_header        Connection "upgrade";
       }
I cannot seem to figure it out. It is most likely a missing configuration somewhere...

                New to ADSelfService Plus?