Skip to content
Snippets Groups Projects
Commit 98654402 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

rewrite wiki path

parent ee80b4f2
No related branches found
No related tags found
1 merge request!7K8s deploy
Pipeline #111445 failed
This commit is part of merge request !7. Comments created here will be created in the context of that merge request.
...@@ -6,6 +6,12 @@ server { ...@@ -6,6 +6,12 @@ server {
root /usr/share/nginx/html; root /usr/share/nginx/html;
index index.html index.htm; index index.html index.htm;
try_files $uri /index.html; try_files $uri /index.html;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-NginX-Proxy true;
rewrite ^/wiki/(.*)$ /$1 break;
proxy_pass http://wiki;
} }
error_page 500 502 503 504 /50x.html; error_page 500 502 503 504 /50x.html;
......
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