Disable nginx cache for /admin

Hi.

Im trying to force nginx to not cache /admin, but when i set it up i get 401 Unauthorized from the server. Have anyone else tried this?

My current nginx config is:

    server {
        listen 80;
        server_name test.iskald.no;

        location / {
            proxy_pass http://localhost:8080;
            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;
        }
        location /admin {
            proxy_pass http://localhost:8080/admin;
    	    proxy_no_cache 1;
            proxy_cache_bypass 1;
        }  
    }

And my vhost is:

    enabled = true

    mapping.site.host = test.iskald.no
    mapping.site.source = /
    mapping.site.target = /portal/master/sites/test
    mapping.site.userStore = system

    mapping.admin.host = test.iskald.no
    mapping.admin.source = /admin
    mapping.admin.target = /admin
    mapping.admin.userStore = system

If i remove the location /admin-group, everything works, but i have problems with admin not reloading properly.