Skip to content
An example of enviroment with webpack and nginx
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
login
profile
.editorconfig
.gitignore
LICENSE
README.md
nginx.awesome.conf

README.md

webpack-nginx-example

An example of enviroment with webpack and nginx

Install

git clone https://github.com/andrepolischuk/webpack-nginx-example
cd webpack-nginx-example

Append the follow line into the hosts file:

0.0.0.0 awesome.app

Link nginx config and start:

ln -s $PWD/nginx.awesome.conf /usr/local/etc/nginx/servers/nginx.awesome.conf
sudo nginx

Install dependencies and run webpack:

cd login
npm install
npm start

Open http://awesome.app/login/ in browser.

License

MIT

You can’t perform that action at this time.