Skip to content
Snippets Groups Projects
Commit 3f2b56402a8e authored by Philippe Pepiot's avatar Philippe Pepiot
Browse files

Fix nginx config in kubernetes deployment

parent 03949823c563
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
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 @@
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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment