Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dashboard
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AURA
dashboard
Commits
13bb67a3
Commit
13bb67a3
authored
3 years ago
by
David (Jointech)
Committed by
Roman Brendler
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix(nginx): fix redirects and body-size
parent
b0d33abb
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker.env.production
+1
-1
1 addition, 1 deletion
docker.env.production
nginx/nginx.prod.template
+13
-5
13 additions, 5 deletions
nginx/nginx.prod.template
with
14 additions
and
6 deletions
docker.env.production
+
1
−
1
View file @
13bb67a3
...
...
@@ -19,7 +19,7 @@ VUE_APP_TANK = AURA_PROTO://AURA_HOST/tank/
VUE_APP_OIDC_CLIENT_ID = DASHBOARD_OIDC_CLIENT_ID
# OIDC endpoint of the pv/steering module
VUE_APP_API_STEERING_OIDC_URI = AURA_PROTO://AURA_HOST/openid
VUE_APP_API_STEERING_OIDC_URI = AURA_PROTO://AURA_HOST/openid
/
# Number of seconds before token gets invalid, when renewal should be started
VUE_APP_API_STEERING_OIDC_EXPIRE_NOTIFICATION = 120
...
...
This diff is collapsed.
Click to expand it.
nginx/nginx.prod.template
+
13
−
5
View file @
13bb67a3
...
...
@@ -5,10 +5,13 @@ server {
location / {
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ /index.html;
}
location /openid/ {
proxy_pass http://steering:8000/openid/;
proxy_redirect $scheme://$host/oidc_callback.html /oidc_callback.html;
proxy redirect $scheme://$host/oidc_callback_silentRenew.html /oidc_callback_silentRenew.html
proxy redirect $schme://$host/ /;
proxy_redirect ~^/?(.*)$ $scheme://$host:$server_port/steering/$1;
proxy_set_header Upgrade $http_upgrade;
...
...
@@ -42,12 +45,17 @@ server {
location /steering/static {
root /usr/share/nginx/html;
}
location /site_media {
root /usr/share/nginx/html;
}
location /tank/ {
proxy_buffering off;
proxy_ignore_headers "X-Accel-Buffering";
proxy_request_buffering off;
proxy_http_version 1.1;
proxy_buffering off;
proxy_ignore_headers "X-Accel-Buffering";
proxy_request_buffering off;
proxy_http_version 1.1;
client_max_body_size 100M;
proxy_pass http://tank:8040/;
proxy_pass http://tank:8040/;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment