Nextcloud Nginx Broken Configuration

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
Bennard123
Posts: 1
Joined: Mon Nov 04, 2019 9:25 pm

Nextcloud Nginx Broken Configuration

Post by Bennard123 »

Hello,

i have the following problem, that my Nginx Configuration broke.
Silly me forgot to make a backup of the configuration file and now cant revert it.
The files i need are below etc/nginx/sites-dietpi/dietpi-nextcloud.conf
/etc/nginx/sites-dietpi/dietpi-dav_redirect.conf

First i broke the dietpi-dav_redirect as the redirect / auto discover for the Thunderbird Calendar-Sync did not work.
Unfortunately i went on and crashed the nextcloud.conf in the next phase by "adding the entries from the old one into the new one".
Major ScrewUp i would consider this.

Can somebody point me out to the "area" where i can get those files again?

Regards,

Bennard123
User avatar
Joulinar
Posts: 2085
Joined: Sat Nov 16, 2019 12:49 am

Re: Nextcloud Nginx Broken Configuration

Post by Joulinar »

Hi,

many thanks for your report. dietpi-nextcloud.conf can be downloaded as follow

Code: Select all

wget https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/dps_114/nginx.nextcloud.conf -O 114.conf
mv 114.conf /etc/nginx/sites-dietpi/dietpi-nextcloud.conf
reboot
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply