• October 24, 2020, 10:42:58 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: nginx conf file  (Read 1085 times)

Macro

  • Level 1 Member
  • *
  • Posts: 2
nginx conf file
« on: November 30, 2017, 06:43:59 AM »

I was trying to install and use nginx on my 340L and it showed the default web site after install.

I then proceeded to try and change the nginx.conf file to get what I wanted working (I didn't make a copy since there was also a nginx.default.conf there which I thought was the same) - managed to totally KO it so nothing worked - so I uninstalled the add-on, and re-installed it (thinking it would put default conf back), but it doesn't - originally my conf was back, and when I deleted it to make sure it replaced it, I now get nothing back.

so, how can I get the default nginx.conf file from the downloaded add-on ?

can I extract it from the package in anyway, or can I force the package to use it's included default again. (or can someone post it here!)

Thanks from a linux / NAS newbie!
Logged

Macro

  • Level 1 Member
  • *
  • Posts: 2
Re: nginx conf file
« Reply #1 on: November 30, 2017, 07:04:11 AM »

Replying to my own topic - but now resolved!

I finally thought of looking at the remove.sh script, and see if makes a copy of the conf folder elsewhere (presumably to keep the settings) - I removed this copy after uninstalling, and re-install now adds the default conf back.
Logged

vtverdohleb

  • Level 5 Member
  • *****
  • Posts: 712
    • Add-Ons for D-Link NAS
Re: nginx conf file
« Reply #2 on: December 05, 2017, 02:08:39 PM »

I highly recommend issues that relate to my addons, duplicate me on e-mail. My address you receive by registering on the site dlink.vtverdohleb.org.ua.
Logged
Add-on Application questions and issues, please include the following minimal information in your post:
* ShareCenter Model
* Add-on Name
* Add-on Version
* Detailed Description of your Issue
Donate: http://dlink.vtverdohleb.org.ua/Add-On/donate.php