Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Video AG Infrastruktur
website
Commits
e5aa80ba
Unverified
Commit
e5aa80ba
authored
2 years ago
by
Roman Karwacik
Browse files
Options
Downloads
Patches
Plain Diff
nginx
parent
3a6eba58
Branches
s3compatible
No related tags found
1 merge request
!47
Draft: Support for S3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nginx.conf.example
+10
-3
10 additions, 3 deletions
nginx.conf.example
with
10 additions
and
3 deletions
nginx.conf.example
+
10
−
3
View file @
e5aa80ba
...
...
@@ -41,9 +41,16 @@ http {
#add_header Set-Cookie $trackingcookie;
# For use without sshfs
# NO TRAILING SLASH so that /files/ will not be skipped of the request!
proxy_pass https://videoag.fsmpi.rwth-aachen.de;
proxy_set_header Host "videoag.fsmpi.rwth-aachen.de";
proxy_set_header Set-Cookie $trackingcookie;
#proxy_pass https://videoag.fsmpi.rwth-aachen.de;
#proxy_set_header Host "videoag.fsmpi.rwth-aachen.de";
#proxy_set_header Set-Cookie $trackingcookie;
# For use with S3
add_header Set-Cookie $trackingcookie;
include uwsgi_params;
uwsgi_param REQUEST_URI $uri;
uwsgi_param HTTP_X_ORIGINAL_URI $request_uri;
uwsgi_param HTTP_X_REAL_IP $remote_addr;
uwsgi_pass unix:uwsgi.sock;
}
location / {
include /etc/nginx/uwsgi_params;
...
...
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