This commit is contained in:
Pavel Zilke 2024-07-15 17:14:04 +03:00
parent 5261d17001
commit cbfefce847
5 changed files with 12 additions and 10 deletions

View file

@ -1,4 +1,4 @@
FROM nginx:stable-alpine FROM nginx:stable-alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf #COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY ./html/ /usr/share/nginx/html/ COPY ./html/ /usr/share/nginx/html/

View file

@ -3,6 +3,6 @@
</head> </head>
<html> <html>
<body> <body>
<a href="/fl/app/">Приложение для Физ. лиц</a> <a href="https://lkrp.micord.ru/fl/app/">Приложение для Физ. лиц</a>
</body> </body>
</html> </html>

View file

@ -3,8 +3,8 @@
</head> </head>
<html> <html>
<body> <body>
<a href="/ul/">Юридическое лицо</a> <a href="./ul/index.html">Юридическое лицо</a>
</br> </br>
<a href="/fl/">Физическое лицо</a> <a href="./fl/index.html">Физическое лицо</a>
</body> </body>
</html> </html>

View file

@ -3,6 +3,6 @@
</head> </head>
<html> <html>
<body> <body>
<a href="/ul/app/">Приложение для Юр. лиц</a> <a href="https://lkrp.micord.ru/ul/app/">Приложение для Юр. лиц</a>
</body> </body>
</html> </html>

View file

@ -49,10 +49,12 @@ server {
text/plain text/plain
text/xml; text/xml;
#location / {
# index index.html;
# expires -1;
# try_files $uri $uri/ $uri/index.html;
#}
root /usr/share/nginx/html; root /usr/share/nginx/html;
location / {
index index.html;
expires -1;
try_files $uri $uri/ $uri/index.html;
}
} }