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