Code Monkey home page Code Monkey logo

Comments (5)

leobudima avatar leobudima commented on May 17, 2024 1

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.

cytopia avatar cytopia commented on May 17, 2024

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.

cagartner avatar cagartner commented on May 17, 2024

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.

cytopia avatar cytopia commented on May 17, 2024

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.

cytopia avatar cytopia commented on May 17, 2024

@cagartner @leobudima Now fixed in new release.

from devilbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.