diff --git a/80.conf b/80.conf index 364d6cf..af2c87f 100644 --- a/80.conf +++ b/80.conf @@ -67,6 +67,22 @@ server { fastcgi_pass unix:/var/run/php/php7.2-fpm.sock; } } +server { + listen 80; + index index.php index.html index.htm index.nginx-debian.html; + server_name alexei.inno-ijl.ru; + root /home/ijl/ijl/apps/alexei; + + location / { + try_files $uri $uri/ =404; + index index.html; + } + + location ~ \.php$ { + include fastcgi-php.conf; + fastcgi_pass unix:/var/run/php/php7.2-fpm.sock; + } +} server { listen 80;