From a1383c7ab5ce4d3cde5c359645726bc502b4e1f6 Mon Sep 17 00:00:00 2001 From: Kevin Johnson Date: Wed, 17 Oct 2018 13:33:56 -0400 Subject: [PATCH] fixed sites-enabled --- config/sites-enabled/professionallyevil.wtf | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/config/sites-enabled/professionallyevil.wtf b/config/sites-enabled/professionallyevil.wtf index fbd0a00..2cb0c51 100644 --- a/config/sites-enabled/professionallyevil.wtf +++ b/config/sites-enabled/professionallyevil.wtf @@ -5,19 +5,16 @@ # Default server configuration # server { - listen 80 default_server; - listen [::]:80 default_server; + listen 80; root /var/www/proevil; # Add index.php to the list if you are using PHP - index index.php index.html index.htm index.nginx-debian.html; + index index.php index.html index.htm; server_name professionallyevil.wtf; location / { - # First attempt to serve request as file, then - # as directory, then fall back to displaying a 404. try_files $uri $uri/ =404; } @@ -26,10 +23,7 @@ server { location ~ \.php$ { include snippets/fastcgi-php.conf; - # With php-fpm (or other unix sockets): fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; - # With php-cgi (or other tcp sockets): - # fastcgi_pass 127.0.0.1:9000; } } \ No newline at end of file