From 43d9cfe49596a3632d0d6f31fd71e6715d4272e6 Mon Sep 17 00:00:00 2001 From: Rail Hamdeev Date: Tue, 8 Dec 2020 01:25:13 +0400 Subject: [PATCH] remove extra config --- docker/nginx/config/site.test.conf | 35 ------------------------------ 1 file changed, 35 deletions(-) delete mode 100644 docker/nginx/config/site.test.conf diff --git a/docker/nginx/config/site.test.conf b/docker/nginx/config/site.test.conf deleted file mode 100644 index 060b537..0000000 --- a/docker/nginx/config/site.test.conf +++ /dev/null @@ -1,35 +0,0 @@ -server { - listen 80; - - #имя сервера: - server_name site.test; - - # корневая директория - root /srv/projects/site.test; - include conf.d/includes/restrictions.inc; - - satisfy any; - allow 192.168.1.0/24; - deny all; - auth_basic "Restricted"; - auth_basic_user_file .htpasswd; - - ###################################### - # FPM config - ###################################### - location ~ \.php$ { - try_files $uri = 404; - include fastcgi_params; - fastcgi_pass php-8:9000; - fastcgi_index index.php; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - fastcgi_param SERVER_NAME $host; - } - - location / { - index index.php index.html index.htm; - try_files $uri $uri/ /index.php?$args; - } - - include conf.d/includes/assets.inc; -}