The Wayback Machine - https://web.archive.org/web/20200623123629/https://github.com/MichaIng/DietPi/issues/3438
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dietpi: Install services on dedicated domains #3438

Open
Krawei opened this issue Mar 24, 2020 · 1 comment
Open

dietpi: Install services on dedicated domains #3438

Krawei opened this issue Mar 24, 2020 · 1 comment

Comments

@Krawei
Copy link

@Krawei Krawei commented Mar 24, 2020

Creating a feature request

Is your feature request related to a problem? Please describe:

I've issued a let's encrypt certificate with alternate names and would love to use it with lighttpd and dedicated domains.

Describe the solution you'd like:

For instance according to the nextcloud hardening guide https://docs.nextcloud.com/server/18/admin_manual/installation/harden_server.html I would love to be able to install nextcloud with lighttpd on an dedicated domain (like nc.domain.tld instead of the current domain.tld/nextcloud behavior)

Describe alternatives you've considered:

Maybe it is possible to ask the user which method he prefers meanwhile the installation progress (dedicated url or subdirectory)

I hope you'll like my rfe :) .

@MichaIng
Copy link
Owner

@MichaIng MichaIng commented Mar 24, 2020

@Krawei
Many thanks for your request.

This should be possible via simple rewrite rule, as long as both domains are pointing to your server and your HTTPS certificate is valid for all wanted domains.

However note that a subdir has the larger advantage that bots do usually not scan those for known scripts to try brute-forcing against. If you have a known website available on the root of a domain, then expect that you will see an increasing number of failed logins from bots all over the world. On subdirs I never see those. Not a real problem but at least the logs could be annoying when searching for "real" issues 😉.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.