Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
RECIRCLE
/
portal
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
11
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2cec3080
authored
Jun 09, 2020
by
Chif Gergő
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ci error, forward auth endpoint with nginx
parent
a865efe2
Pipeline
#1158
failed with stage
in 1 minute 50 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
.gitlab-ci.yml
+2
-0
config/nginx/recircle.conf
+7
-0
No files found.
.gitlab-ci.yml
View file @
2cec3080
...
...
@@ -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
config/nginx/recircle.conf
View file @
2cec3080
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment