Comments (5)
FWIF, editing 02-vhost-mass.conf as:
ServerAlias *
VirtualDocumentRoot /shared/httpd/%0/htdocs/
solved the problem for me and projects / vhosts can now be called whatever.
from devilbox.
If I understand correctly, you want to have domain names from *.loc
to by dynamic to make it for example *.test
or *.example
?
This is tricky and will require some re-organisation.
Currently domain endings are hard-coded in e.g.: .devilbox/etc/nginx-stable/02-vhost-mass.conf
(and other webserver configs).
Sounds however reasonable.
I will schedule it to 1.1 for now, as I don't know how fast i can come up with a good solution.
Solutions welcome :-)
from devilbox.
Exactly,
I changed this config on my local development and worked, for me ok.
Maybe this config can be changed on a online editor in http://localhost on any future update.
Thank you for the awesome work :) and sorry for my bad english.
from devilbox.
It is not yet fully dynamic, but if you want to change the TLD suffix, you will do have to to that in two places at the moment:
.devilbox/www/config.php
at $TLD_SUFFIX
as well as in your webservers mass vhost config file .devilbox/etc/<webserver>/02-vhost-mass.conf
Might be soon a single option inside .env
from devilbox.
@cagartner @leobudima Now fixed in new release.
from devilbox.
Related Issues (20)
- No Host DNS record found HOT 1
- [Bug]: AutoDNS not working on MacOS Ventura 13.5.2 HOT 11
- Getting http: invalid Host header while running shell.sh HOT 5
- [Bug]: unable to access internet from php container HOT 3
- [Feature]: Update timezone database
- [Docs]: sqlsrv with new arm64 (Apple M1/M2)
- [Howto]: Use PHP and Vite simultaneously in the same project HOT 1
- [Howto]: multitenancy HOT 2
- [Feature]: skipping projects HOT 1
- [Bug]: Comment in project `nginx.yml` causes invalid error message in /vhosts.php
- [Feature]: DENO and BUN It's a good idea?
- [Bug]: Cannot access internet - DNS resolution incorrect HOT 3
- [Feature]: Make PHP 8.3 available HOT 10
- [Feature]: Add FrankenPHP
- [Feature]: Is devilbox inactive/dead? HOT 5
- [Bug]: Redis error HOT 3
- [Bug]: error, "No Host DNS record found. " even after adding folder name in /etc/hosts/ HOT 4
- [Feature]: podman support
- [Bug]: The Flask container doesn't initialize a virtual env for the app to run
- [Feature]: y no tiene interfaz gráfica?
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 devilbox.