YunoHost-Apps / pluxml_ynh

PluXml package for YunoHost
http://pluxml.org
GNU General Public License v3.0
9 stars 4 forks source link

Block logs,version,configuration #14

Closed src386 closed 8 years ago

src386 commented 8 years ago

I suggest add this :

location ~ /(version|configuration|logs)$ {
            return 403;
    }

Didnt tried the packaged, just had a look at the nginx.conf :)

Note : this is for standard vhost, not for Yunohost splited apps nginx conf.

matlink commented 8 years ago

configuration and logs do not exist aren't they?

src386 commented 8 years ago

It has been a long time, honestly I don't remember what was in my mind. Yeah nginx.conf is okay, never mind.