Skip to content
Snippets Groups Projects

K8s deploy

Merged Remi PLANEL requested to merge k8s-deploy into dev
1 file
+ 6
6
Compare changes
  • Side-by-side
  • Inline
+ 6
6
@@ -2,7 +2,7 @@ server_tokens off;
server {
listen 8080;
server_name localhost;
location /wiki {
location ^~/wiki {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri /index.html;
@@ -11,12 +11,12 @@ server {
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;
proxy_pass http://localhost;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
# error_page 500 502 503 504 /50x.html;
# location = /50x.html {
# root /usr/share/nginx/html;
# }
}
\ No newline at end of file