Big review
This commit is contained in:
4
nginx-blocks/0-http-redirect
Normal file
4
nginx-blocks/0-http-redirect
Normal file
@ -0,0 +1,4 @@
|
||||
server {
|
||||
listen 80;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
12
nginx-blocks/filebrowser
Normal file
12
nginx-blocks/filebrowser
Normal 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
12
nginx-blocks/transmission
Normal 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";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user