Big review

This commit is contained in:
2022-09-16 15:00:38 +02:00
parent bc3f4e3591
commit 725512cd85
14 changed files with 134 additions and 182 deletions

View File

@ -0,0 +1,4 @@
server {
listen 80;
return 301 https://$host$request_uri;
}

12
nginx-blocks/filebrowser Normal file
View File

@ -0,0 +1,12 @@
server {
listen 443 ssl;
server_name nas.PH_FQDN;
ssl_certificate /etc/ssl/cert.crt;
ssl_certificate_key /etc/ssl/cert.key;
location / {
proxy_pass http://localhost:8080;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
}
}

12
nginx-blocks/transmission Normal file
View File

@ -0,0 +1,12 @@
server {
listen 443 ssl;
server_name dl.PH_FQDN;
ssl_certificate /etc/ssl/cert.crt;
ssl_certificate_key /etc/ssl/cert.key;
location / {
proxy_pass http://localhost:3389;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
}
}