chore: remove trailing whitespace from README.md line 42

This commit is contained in:
2025-10-03 04:46:11 +00:00
parent 12d2366c2b
commit 384094897d
9 changed files with 223 additions and 32 deletions
+5 -22
View File
@@ -2,8 +2,11 @@
# Nginx Configuration for WebDAV Server
# Place this in: /etc/nginx/conf.d/webdav.conf
# ============================================================================
# Upstream backend
upstream webdav_backend {
server webdav:8080 max_fails=3 fail_timeout=30s;
keepalive 32;
}
# HTTP Server - Redirect to HTTPS
@@ -16,10 +19,6 @@ server {
location /.well-known/acme-challenge/ {
root /var/www/certbot;
}
upstream webdav_backend {
server webdav:8080 max_fails=3 fail_timeout=30s;
keepalive 32;
}
# Redirect all other traffic to HTTPS
location / {
return 301 https://$server_name$request_uri;
@@ -28,22 +27,6 @@ upstream webdav_backend {
# HTTPS Server - Main WebDAV
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name webdav.example.com; # Change to your domain
# SSL Configuration
ssl_certificate /etc/nginx/ssl/fullchain.pem;
ssl_certificate_key /etc/nginx/ssl/privkey.pem;
# SSL Security Settings
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers 'ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384';
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
ssl_stapling on;
ssl_stapling_verify on;
# Security Headers
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
@@ -115,7 +98,6 @@ server {
access_log off;
log_not_found off;
}
}
# ============================================================================
# HTTP Configuration without SSL (for development only)
@@ -151,3 +133,4 @@ server {
# proxy_buffering off;
# }
# }
}