diff --git a/pages/02.linux/unmanic/default.en.md b/pages/02.linux/unmanic/default.en.md index 99c3cf4..4063252 100644 --- a/pages/02.linux/unmanic/default.en.md +++ b/pages/02.linux/unmanic/default.en.md @@ -49,7 +49,7 @@ sudo htpasswd -c /etc/apache2/.htpasswd [USER] Additional users can be added by omitting the `-c` switch ```sh -sudo htpasswd -c /etc/apache2/.htpasswd [USER] +sudo htpasswd /etc/apache2/.htpasswd [USER] ``` Nginx configuration file @@ -64,6 +64,8 @@ server { add_header X-Content-Type-Options "nosniff"; #add_header Strict-Transport-Security "max-age=31536000; includeSubDomains"; + client_max_body_size 40G; + location / { # Proxy main traffic proxy_pass http://127.0.0.1:8888; @@ -80,16 +82,15 @@ server { proxy_set_header Connection "Upgrade"; # Basic Authentication - auth_basic "Unmanic"; + auth_basic "Unmanic"; auth_basic_user_file /etc/apache2/.htpasswd; } listen *:80; - #listen 443 ssl http2; - #listen [::]:443 ssl http2; - #ssl_certificate_key /etc/acme-sh/unmanic.ovh1app1.x9w.ch/key.pem; - #ssl_certificate /etc/acme-sh/unmanic.ovh1app1.x9w.ch/cert.pem; + #listen *:443 ssl http2; + #ssl_certificate_key /etc/certs/unmanic.ovh1app1.x9w.ch/cert.key; + #ssl_certificate /etc/certs/unmanic.ovh1app1.x9w.ch/cert.crt; } #server { @@ -102,4 +103,5 @@ server { # server_name unmanic.ovh1app1.x9w.ch; # return 404; #} + ```