lms https
All checks were successful
/ deploy-to-homesrv01 (push) Successful in 12s

homeassistant https
This commit is contained in:
2025-06-08 02:16:30 +00:00
parent 1488dacfd5
commit ee95f8aa63
3 changed files with 13 additions and 12 deletions

View File

@@ -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

View File

@@ -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;
} }

View File

@@ -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;
}