From dc9af6a5322c73bd6d3159020e4c02f9f951e278 Mon Sep 17 00:00:00 2001 From: Milan Toman Date: Thu, 18 Mar 2021 12:26:45 +0100 Subject: [PATCH] new web structure --- config/nginx.d/nginx.conf | 20 ++++++++++++++++++++ index.html => www/index.html | 0 2 files changed, 20 insertions(+) create mode 100644 config/nginx.d/nginx.conf rename index.html => www/index.html (100%) diff --git a/config/nginx.d/nginx.conf b/config/nginx.d/nginx.conf new file mode 100644 index 0000000..d3bf6ce --- /dev/null +++ b/config/nginx.d/nginx.conf @@ -0,0 +1,20 @@ +server { + listen 81 default_server; + root /app; + index index.php index.html index.htm; + location ~ \.php$ { + fastcgi_pass php:9000; + fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; + include fastcgi_params; + } +} +#server { +# listen 82 default_server; +# root /app/master/www; +# index index.php index.html index.htm; +# location ~ \.php$ { +# fastcgi_pass php:9000; +# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; +# include fastcgi_params; +# } +#} diff --git a/index.html b/www/index.html similarity index 100% rename from index.html rename to www/index.html