ISPCOnfig with Nextcloud (suite) : error 403, no upload more than 11MB

Discussion in 'General' started by ledufakademy, Oct 7, 2020.

  1. ledufakademy

    ledufakademy Member

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    These are different locations, so merging can't work as merging meabs to add a config to an existing one. If you want to remove a specific location and replace it with another one, which is different (not the content of the location differs, the location itself differs), then you must remove the old location. So the config must be:

    Code:
    location ~ /\. {##delete##
    deny all;
    }
    
    location ~ /\.(?!file).* {
    deny all;
    }
     
    ledufakademy likes this.
  3. ledufakademy

    ledufakademy Member

    thank you Till, that was exactly what i have done (delete before add)
    Works perfectly.
     
  4. ledufakademy

    ledufakademy Member

    Question is there a repository or section in forum for "user snipets" that can be share , with each other ?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    You can do that e.g. in the tips & tricks sub forum.
     

Share This Page