From 96a5f17494fb6d11ae3415d82e1c4621d87d4fba Mon Sep 17 00:00:00 2001 From: matteob99 Date: Sun, 17 Mar 2019 19:54:03 +0100 Subject: [PATCH 1/2] add favicon.ico and nginx config for doc, fix Dockerfile, remove debug from Dockerfile --- .idea/workspace.xml | 169 ++++++++++++++++++++++++++++++++++++++++++++ Dockerfile | 11 ++- nginx-doc.conf | 28 ++++++++ website/favicon.ico | Bin 0 -> 1211 bytes 4 files changed, 201 insertions(+), 7 deletions(-) create mode 100644 .idea/workspace.xml create mode 100644 nginx-doc.conf create mode 100644 website/favicon.ico diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..3d725e4 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,169 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - 1552848533806 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/nginx-doc.conf b/nginx-doc.conf index 5a9746a..adffb7d 100644 --- a/nginx-doc.conf +++ b/nginx-doc.conf @@ -1,28 +1,29 @@ server { - index index.php index.html; - listen 80 default_server; - root /botogram; - error_log /var/log/nginx/error.log; - access_log /var/log/nginx/access.log; - keepalive_timeout 70; - location = /favicon.ico { - alias /botogram/favicon.ico; - } - location / { - index index.php index.html index.htm; - autoindex on; - autoindex_exact_size off; - autoindex_localtime on; - } + index index.php index.html; + listen 80 default_server; + root /botogram; + error_log /var/log/nginx/error.log; + access_log /var/log/nginx/access.log; + keepalive_timeout 70; + location = /favicon.ico { + alias /botogram/favicon.ico; + } + location / { + index index.php index.html index.htm; + autoindex on; + autoindex_exact_size off; + autoindex_localtime on; + } - location = /docs { - return 301 /docs/RELEASE/; - } + location = /docs { + return 301 /docs/RELEASE/; + } - error_page 404 /404.html; + error_page 404 /404.html; + + location = /404.html { + root /botogram/; + internal; + } +} - location = /404.html { - root /botogram/; - internal; - } - }