Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample code to bypass twitcher to debug performance raven process timeout #5

Merged
merged 5 commits into from
Feb 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions ouranos-config/docker-compose-extra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,10 @@ services:
raven:
volumes:
- ../../birdhouse-deploy-ouranos/ouranos-config/raven/wps.cfg:/wps.cfg:ro

# proxy:
# volumes:
# This raven bypass Twitcher is for debugging only, should not be enabled
# permanently in prod. Keep here as sample code and documentation how it can
# be done.
# - ../../birdhouse-deploy-ouranos/ouranos-config/proxy/public-raven-bypass-twitcher.conf:/etc/nginx/conf.extra-service.d/raven/public-raven-bypass-twitcher.conf:ro
1 change: 1 addition & 0 deletions ouranos-config/proxy/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
public-raven-bypass-twitcher.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
location /raven/ {
proxy_pass http://${PAVICS_FQDN}:8096/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $real_scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}