LoginSignup
2
2

More than 5 years have passed since last update.

NginxでWebDavの設定例

Posted at

注) モジュールを一緒にコンパイルしておく必要あり

dav.conf
location / {
    # 許可するメソッド
    dav_methods PUT DELETE MKCOL MOVE;

    # 必要なディレクトリも作成する
    create_full_put_path on;

    # PUTする際のパーミッション
    dav_access  user:rw group:rw all:r;

    # アクセス制限
    limit_except PUT DELETE MKCOL MOVE {
        allow   192.168.0.0/24;
        deny    all;
    }
}
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2