Skip to content

Commit

Permalink
fixed sites-enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
secureideas authored and mgillam committed Oct 22, 2018
1 parent 414a256 commit a1383c7
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions config/sites-enabled/professionallyevil.wtf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}

}

0 comments on commit a1383c7

Please sign in to comment.