Comments (6)
This is actually quite simple, Dokku includes itself before the /etc/nginx/sites-enabled. Just swap those two wildcard includes at the bottom of /etc/nginx/nginx.conf and you'll be sweet to go for setting your default vhost.
EDIT:
That is, swap both the conf.d line and the sites-enabled include lines,
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
to
include /etc/nginx/sites-enabled/*;
include /etc/nginx/conf.d/*.conf;
from dokku.
So we'll leave this to documentation / configuration?
from dokku.
To be honest? Yes, it's just an oddity in nginx.
On Jun 16, 2013 3:35 PM, "Jeff Lindsay" [email protected] wrote:
So we'll leave this to documentation / configuration?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/15#issuecomment-19517615
.
from dokku.
I agree. Less software to write, the better! @rnorth is that satisfactory?
from dokku.
What about placing dokku.conf in sites-enabled in the first place? Does that strain the metaphor of a 'site' too far? ;)
Otherwise, I'm totally fine with the suggestion of documentation - totally agree with the principle of less code!
from dokku.
Let's close for now and if it keeps nagging or other people complain we'll think about it then. I put it on the wiki for now under Recipes: https://github.com/progrium/dokku/wiki/Recipes
If anybody has proto docs or snippets or anything, feel free to put on the wiki. Eventually they might find their way into more official docs.
from dokku.
Related Issues (20)
- Deploy using Dockerfile gives `The legacy builder is deprecated` warning HOT 4
- Permission denied on django collectstatic HOT 4
- 404 link in documentation HOT 4
- Add something like `dokku git:sync --build-if-changes ...` flag HOT 1
- Overlay2 directory fills silently HOT 24
- open /tmp/build/XXXXX.: no such file or directory
- Cannot upgrade dokku while using Caddy HOT 3
- Keep having "Welcome to nginx" after deploying my rails app HOT 4
- App does not update after successful deployment using dokku git:from-image HOT 9
- All Heroku getting-started apps fail on arm64/v8 HOT 2
- Containers disappears HOT 7
- remote: Unable to find image 'dokku/dockerfile:latest' locally HOT 9
- Can't install on Ubuntu 23.04 HOT 1
- Heroku buildpack tryes to use irrelevant pgdg distribution HOT 4
- After update from ubuntu 20 to 22, sudo: unable to resolve host dokku: name or service not known HOT 1
- Dokku wildcard subdomain support, including CNAME support HOT 2
- How to start a new process in an existing Dokku dockerfile based deployment HOT 4
- dokku config:set --no-restart fails on remote ssh client HOT 6
- deployfail due to Ubuntu bionic (18.04) moving to apt-archive.postgresql.org HOT 1
- Default NGINX page directly after DigitalOcean Droplet Setup HOT 5
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 dokku.