Skip to content

Commit

Permalink
Create default.nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhishekGhosh authored Jun 9, 2016
1 parent 880d9e9 commit 6039ae8
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions files/default.nginx
Original file line number Diff line number Diff line change
@@ -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;


}


}

0 comments on commit 6039ae8

Please sign in to comment.