reworked letsencrypt to use docker containers instead of certbot on the host.
This commit is contained in:
15
dockerfiles/services/sslproxy/hosts/logs.xai-corp.net.conf
Normal file
15
dockerfiles/services/sslproxy/hosts/logs.xai-corp.net.conf
Normal file
@@ -0,0 +1,15 @@
|
||||
# logs.xai-corp.net
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name logs.xai-corp.net;
|
||||
ssl_certificate /etc/letsencrypt/live/logs.xai-corp.net/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/logs.xai-corp.net/privkey.pem;
|
||||
#Strict-Transport-Security: max-age=15768000
|
||||
add_header Strict-Transport-Security "max-age=600; includeSubDomains" always;
|
||||
|
||||
location / {
|
||||
proxy_set_header Connection $http_connection;
|
||||
proxy_pass http://dkhost.xai-corp.net:10090;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user