Skip to content

NginX: Restrict access to sensitive directories #24

@xurizaemon

Description

@xurizaemon

Discussed in #21

  • NginX does not respect .htaccess
  • Solution (until we move sensitive directories from webroot) is to use nginx config to prevent access
  • Directory paths are specific to CMS (eg sites//files/civicrm/ versus wp-content/something)
  • But since the risk of collision is low and AMP is targeted at local use, IMO it's OK to block the lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions