Commit 2cec3080 by Chif Gergő

Fix ci error, forward auth endpoint with nginx

parent a865efe2
Pipeline #1158 failed with stage
in 1 minute 50 seconds
......@@ -13,5 +13,7 @@ test:
script:
- pip install pipenv
- pipenv install -d
- mv environment.sh.example environment.sh
- source environment.sh
- cd recircle
- pipenv run python manage.py test
......@@ -24,6 +24,13 @@ server {
proxy_redirect off;
}
location /auth/ {
proxy_pass http://recircle;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_redirect off;
}
location /ws/ {
proxy_pass http://wsbackend;
proxy_http_version 1.1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment