Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
fresh
Commits
3f2b56402a8e
Commit
47758b66
authored
May 16, 2019
by
Philippe Pepiot
Browse files
Fix nginx config in kubernetes deployment
parent
03949823c563
Changes
1
Hide whitespace changes
Inline
Side-by-side
deploy/deployment.yaml
View file @
3f2b5640
...
...
@@ -8,7 +8,7 @@ data:
server {
listen 8000 default_server;
root /etc/cubicweb.d/fresh/data;
rewrite ^/
intra
/(.*) /$1 last;
rewrite ^/
fresh
/(.*) /$1 last;
location / {
proxy_pass http://127.0.0.1:8080;
...
...
@@ -16,7 +16,7 @@ data:
proxy_buffering off;
# This make cubicweb-signedrequest works even if HTTP Host header is
# not supposed to contains URL path...
proxy_set_header Host $host/
intra
;
proxy_set_header Host $host/
fresh
;
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Remote-user $http_x_remote_user;
...
...
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