From 6039ae80f8369594623f5282474ecfe8fb0b3072 Mon Sep 17 00:00:00 2001 From: Abhishek Ghosh Date: Fri, 10 Jun 2016 04:42:20 +0530 Subject: [PATCH] Create default.nginx --- files/default.nginx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 files/default.nginx diff --git a/files/default.nginx b/files/default.nginx new file mode 100644 index 0000000..58d0c68 --- /dev/null +++ b/files/default.nginx @@ -0,0 +1,19 @@ +server { + listen 80 default_server; + root /usr/share/nginx/html; + index index.html index.htm index.php; + server_name localhost; + # include /etc/nginx/thecustomizewindows/w3tc.conf; + location / { + try_files $uri $uri/ /index.php$is_args$args; + } + location ~ \.php$ { + include snippets/fastcgi-php.conf; + fastcgi_pass unix:/run/php/php7.0-fpm.sock; + include fastcgi_params; + + + } + + +}