Commit 47758b66 authored by Philippe Pepiot's avatar Philippe Pepiot
Browse files

Fix nginx config in kubernetes deployment

parent 03949823c563
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment