Skip to content

Commit

Permalink
cambiando el nombre de la release
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinoSanchez00 committed Dec 11, 2024
1 parent 4423272 commit fdb4993
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
12 changes: 12 additions & 0 deletions default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ server {
proxy_http_version 1.1;
proxy_set_header Connection "";
}
location /dev-vsanchez {
root /usr/share/nginx/html;
index index.html;
rewrite ^/dev-vsanchez(/.*)$ $1 break;
try_files $uri $uri/ /index.html;
}
location /prod-vsanchez {
root /usr/share/nginx/html;
index index.html;
rewrite ^/prod-vsanchez(/.*)$ $1 break;
try_files $uri $uri/ /index.html;
}

# Páginas de error
error_page 404 /404.html;
Expand Down
4 changes: 3 additions & 1 deletion ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ kind: Ingress
metadata:
name: ingress-vsanchez
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/rewrite-target: /dev-vsanchez


spec:
ingressClassName: nginx
rules:
Expand Down

0 comments on commit fdb4993

Please sign in to comment.