homeassistant https
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
version: '3'
|
|
||||||
|
|
||||||
configs:
|
configs:
|
||||||
run-sh:
|
run-sh:
|
||||||
content: |
|
content: |
|
||||||
@@ -21,7 +19,6 @@ services:
|
|||||||
- 80:80
|
- 80:80
|
||||||
networks:
|
networks:
|
||||||
- public
|
- public
|
||||||
- private
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: /bin/sh -c '/run.sh'
|
command: /bin/sh -c '/run.sh'
|
||||||
configs:
|
configs:
|
||||||
@@ -39,7 +36,6 @@ networks:
|
|||||||
public:
|
public:
|
||||||
name: reverseproxy_public
|
name: reverseproxy_public
|
||||||
external: true
|
external: true
|
||||||
private:
|
|
||||||
name: reverseproxy_private
|
|
||||||
|
|
||||||
|
|
||||||
@@ -5,7 +5,7 @@ map $http_upgrade $connection_upgrade {
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name casa.limbosolutions.com *.casa.limbosolutions.com;
|
server_name casa.limbosolutions.com *.casa.limbosolutions.com has.lan;
|
||||||
return 301 https://has.casa.limbosolutions.com$request_uri;
|
return 301 https://has.casa.limbosolutions.com$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
server_name lms.casa.limbosolutions.com music.casa.limbosolutions.com;
|
||||||
proxy_buffering off;
|
listen 443 ssl;
|
||||||
server_name lms.lan music.lan;
|
ssl_certificate /etc/ssl/certs/casa-limbosolutions-com-certs/casa-limbosolutions-com-tls_tls.crt;
|
||||||
|
ssl_certificate_key /etc/ssl/certs/casa-limbosolutions-com-certs/casa-limbosolutions-com-tls_tls.key;
|
||||||
|
ssl_protocols TLSv1.2 TLSv1.3;
|
||||||
|
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
set $upstream lms-lms-1;
|
set $upstream lms-lms-1;
|
||||||
@@ -24,4 +25,8 @@ server {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name lms.casa.limbosolutions.com music.casa.limbosolutions.com lms.lan music.lan;
|
||||||
|
return 301 https://lms.casa.limbosolutions.com$request_uri;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user