diff --git a/Dockerfile b/Dockerfile index 9583de8..6e442f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ 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/ diff --git a/html/fl/index.html b/html/fl/index.html index f6ec4bc..4dc1f9c 100644 --- a/html/fl/index.html +++ b/html/fl/index.html @@ -3,6 +3,6 @@
- Приложение для Физ. лиц + Приложение для Физ. лиц \ No newline at end of file diff --git a/html/index.html b/html/index.html index ced467a..0ba6638 100644 --- a/html/index.html +++ b/html/index.html @@ -3,8 +3,8 @@ - Юридическое лицо + Юридическое лицо - Физическое лицо + Физическое лицо diff --git a/html/ul/index.html b/html/ul/index.html index 3978de8..51bee4e 100644 --- a/html/ul/index.html +++ b/html/ul/index.html @@ -3,6 +3,6 @@ - Приложение для Юр. лиц + Приложение для Юр. лиц \ No newline at end of file diff --git a/nginx.conf b/nginx.conf index d049531..3c91a64 100644 --- a/nginx.conf +++ b/nginx.conf @@ -49,10 +49,12 @@ server { text/plain text/xml; - #location / { - # index index.html; - # expires -1; - # try_files $uri $uri/ $uri/index.html; - #} root /usr/share/nginx/html; + + location / { + index index.html; + expires -1; + try_files $uri $uri/ $uri/index.html; + } + }