Skip to content

Commit

Permalink
updated nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
jagankumar-egov committed Jul 2, 2024
1 parent 844dd32 commit 2a9734c
Show file tree
Hide file tree
Showing 2 changed files with 2,900 additions and 11 deletions.
24 changes: 13 additions & 11 deletions micro-frontends/sample/docker/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
server
{
listen 80;
underscores_in_headers on;
server {
listen 80;
underscores_in_headers on;

location /sample-ui
{
root /var/web;
index index.html index.htm;
try_files $uri $uri/ /sample-ui/index.html;
}
}
location /sample-ui {
root /var/web;
index index.html index.htm;
try_files $uri $uri/ /sample-ui/index.html;
}

location /mz||pg/sample-ui {
rewrite ^/mz\|\|pg/sample-ui(.*)$ /sample-ui$1 break;
}
}
Loading

0 comments on commit 2a9734c

Please sign in to comment.