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

Add the WebDAV access to the library.

parent 404f4689
No related branches found
No related tags found
No related merge requests found
Pipeline #2671 failed
map $host $library { default transmission-webdav; }
server {
listen 80;
listen [::]:80;
server_name library.shore.co.il;
include snippets/robots-disallow-all.conf;
include snippets/ads-txt.conf;
include snippets/security-txt.conf;
include snippets/www-acme-challenge.conf;
include snippets/redirect-https.conf;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name library.shore.co.il;
include snippets/robots-disallow-all.conf;
include snippets/ads-txt.conf;
include snippets/security-txt.conf;
include snippets/ssl.conf;
include snippets/ldap-auth.conf;
location / {
proxy_pass http://$library:80;
proxy_http_version 1.1;
include snippets/proxy-headers.conf;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment