Comments (2)
Having it the way you described suggests that test
and bin
directories should reside under /etc/nginx. Which is wrong, they should not be there. I just isolated files logically: configs, helpers and tests. Which looks reasonable to me for the sake of structure/isolation. Check out jQuery, it uses the same approach.
You can clone once. Then git pull
and cp -r nginx-bp/ /etc/nginx/
when needed. No need to clone every time.
from nginx-boilerplate.
You can have your generic or custom nginx config and still use the boilerplate from where you cloned it to. For example if you do lots of changes in nginx configuration it might be convenient. Check out the Try it section. Just run sh bin/run.sh
and it would start nginx with the boilerplate config. Then just add your site config to src/sites/.
from nginx-boilerplate.
Related Issues (20)
- 404 error HOT 2
- Force SSL HOT 1
- invalid parameter "if=$bot_ua" HOT 2
- "root" directive is duplicate HOT 5
- location php blocked run php in other locations HOT 1
- 504 Gateway Time-out HOT 1
- Снова проблема с настройкой. (нехватка знаний) HOT 1
- Consider tcp_nodelay on; HOT 3
- Hacked HOT 1
- Not indexing subdirectories. HOT 1
- Specify Minimum Nginx Version HOT 2
- ownCloud не работает с текущим php.conf HOT 4
- Nginx is starting, bug don't listen HOT 5
- "Primary script unknown" в логах при попытке открыть несуществующий документ. HOT 2
- Wiki HOT 3
- fastcgi_cache race conditions
- ALLOW standard request methods HOT 1
- Unknown Variable error HOT 4
- JavaScript content type HOT 3
- Include application/x-gzip
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nginx-boilerplate.