-
-
Notifications
You must be signed in to change notification settings - Fork 495
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
Lighttpd vhost problem #3707
Comments
Many thanks for your report. Your run all vhosts on different ports? If you enabled it, there is |
All vhosts conf files start with $HTTP["host"] == "example.com" {
in each conf file there is
example1,2,3 .conf files are placed inside conf-enabled directory Is there any place to find default files that dietpi uses for:
|
Okay so since all your vhosts listen on 443, If you have HTTPS redirect active, easiest is probably to:
|
I make some test before your answer.
So i 've renamed all files for vhosts including redirect & letsencrypt.conf with "nn-" at start and thats it!!! |
Okay so this means the alphabetical order of your configs was like this?:
Those file names were never touched since the initial |
Exactly!!! The names were:
You can use |
Hello.
Dietpi on PC.
I use it for wordpress web server with Lets Encrypt etc.
I just tried to add a vhost (i already have 3 vhosts working ok) but after setup (db,vhost on conf-enabled,ssl with certbot) when i visit the site it says that ssl is invalid because it reads ssl from letsencrypt.conf and not from e.g example.com.conf.
Anyone knows why is it happening.
And i want to test if issue happens because of mods in lighttpd.conf
Did anyone have the default lighttpd.conf file for dietpi
The text was updated successfully, but these errors were encountered: