Skip to content
Snippets Groups Projects
Commit f29d5dca authored by nimrod's avatar nimrod
Browse files

Library webdav read-only access.

parent 95006170
No related branches found
No related tags found
No related merge requests found
server {
listen 80;
listen [::]:80;
server_name library.shore.co.il;
include snippets/www-acme-challenge.conf;
include snippets/redirect-https.conf;
}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name library.shore.co.il;
include snippets/ssl.conf;
location / {
root /srv/library;
client_body_temp_path /tmp;
dav_methods PUT DELETE MKCOL COPY MOVE;
autoindex on;
autoindex_exact_size off;
limit_except GET PROPFIND OPTIONS HEAD {
deny all;
}
}
}
......@@ -10,6 +10,7 @@ services:
default:
aliases:
- *hostname
- library.shore.co.il
ports:
- '80:80'
- '443:443'
......@@ -19,6 +20,7 @@ services:
- '/var/ssl/site.key:/var/ssl/site.key:ro'
- '/var/ssl/site.crt:/var/ssl/site.crt:ro'
- '/var/ssl/dhparams:/var/ssl/dhparams:ro'
- '/srv/library:/srv/library:ro'
vouch:
environment:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment