Update organizr-auth.subfolder.conf.sample

Switch to api v2 since v1 is outdated
This commit is contained in:
arnishow 2020-10-09 08:55:21 +02:00 committed by GitHub
commit 4ad6552c85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ location ~ /auth-([0-9]+) {
set $upstream_auth_app organizr;
set $upstream_auth_port 80;
set $upstream_auth_proto http;
proxy_pass $upstream_auth_proto://$upstream_auth_app:$upstream_auth_port/api/?v1/auth&group=$1;
proxy_pass $upstream_auth_proto://$upstream_auth_app:$upstream_auth_port/api/?v2/auth&group=$1;
proxy_set_header Content-Length "";