diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9583de8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM nginx:stable-alpine + +COPY nginx.conf /etc/nginx/conf.d/default.conf +COPY ./html/ /usr/share/nginx/html/ diff --git a/fl.html b/fl.html deleted file mode 100644 index 95d9197..0000000 --- a/fl.html +++ /dev/null @@ -1,5 +0,0 @@ - - - Физическое лицо - - \ No newline at end of file diff --git a/html/fl/index.html b/html/fl/index.html new file mode 100644 index 0000000..3edf217 --- /dev/null +++ b/html/fl/index.html @@ -0,0 +1,8 @@ + + + + + + Приложение для Физ. лиц + + \ No newline at end of file diff --git a/html/index.html b/html/index.html new file mode 100644 index 0000000..1abfc42 --- /dev/null +++ b/html/index.html @@ -0,0 +1,10 @@ + + + + + + Юридическое лицо +
+ Физическое лицо + + diff --git a/html/ul/index.html b/html/ul/index.html new file mode 100644 index 0000000..76c6344 --- /dev/null +++ b/html/ul/index.html @@ -0,0 +1,8 @@ + + + + + + Приложение для Юр. лиц + + \ No newline at end of file diff --git a/main.html b/main.html deleted file mode 100644 index e806fa4..0000000 --- a/main.html +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..d049531 --- /dev/null +++ b/nginx.conf @@ -0,0 +1,58 @@ +log_format nginx_main + '$remote_addr - $remote_user [$time_local] $request ' + '"$status" $body_bytes_sent "$http_referer" ' + '"$http_user_agent" "$http_x_forwarded_for" ' + '"$request_filename" "$gzip_ratio" $upstream_response_time server: $host : $document_root $fastcgi_script_name '; + +server { + listen 80 default; + + access_log /var/log/nginx/access.log nginx_main; + error_log /var/log/nginx/error.log error; + + sendfile off; + charset utf-8; + + client_max_body_size 32m; + + ## + # `gzip` Settings + # + # + gzip on; + gzip_disable "msie6"; + + gzip_vary on; + gzip_proxied any; + gzip_comp_level 6; + gzip_buffers 16 8k; + gzip_http_version 1.1; + gzip_min_length 256; + gzip_types + application/atom+xml + application/geo+json + application/javascript + application/x-javascript + application/json + application/ld+json + application/manifest+json + application/rdf+xml + application/rss+xml + application/xhtml+xml + application/xml + font/eot + font/otf + font/ttf + image/svg+xml + text/css + text/javascript + text/plain + text/xml; + + #location / { + # index index.html; + # expires -1; + # try_files $uri $uri/ $uri/index.html; + #} + root /usr/share/nginx/html; +} diff --git a/ul.html b/ul.html deleted file mode 100644 index fbbd7c0..0000000 --- a/ul.html +++ /dev/null @@ -1,5 +0,0 @@ - - - Юридическое лицо - - \ No newline at end of file