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

WIP: should use alias ?

parent 65d724af
No related branches found
No related tags found
1 merge request!7K8s deploy
Pipeline #111468 canceled with stages
in 38 seconds
...@@ -2,14 +2,14 @@ server_tokens off; ...@@ -2,14 +2,14 @@ server_tokens off;
server { server {
listen 8080; listen 8080;
server_name localhost; server_name localhost;
location ^~/wiki/ { location /wiki/ {
root /etc/nginx/html/; alias /etc/nginx/html/;
index index.html index.htm; index index.html index.htm;
} }
error_page 500 502 503 504 /50x.html; error_page 500 502 503 504 /50x.html;
location = /50x.html { location = /50x.html {
root /etc/nginx/html/; alias /etc/nginx/html/;
} }
} }
\ No newline at end of file
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