Skip to content

Instantly share code, notes, and snippets.

View jigs1212's full-sized avatar
:octocat:
Learning

Jigar Lodaya jigs1212

:octocat:
Learning
View GitHub Profile
@jigs1212
jigs1212 / nginx-vhost.conf
Created August 7, 2018 06:19 — forked from tjstein/nginx-vhost.conf
nginx vhost config for WordPress + PHP-FPM
upstream php-fpm {
server unix:/var/run/php5-fpm.sock;
}
server {
listen 80;
server_name www.example.com;
rewrite ^ http://example.com$request_uri?;
}