diff --git a/README.md b/README.md
index e518bfa..decbc55 100644
--- a/README.md
+++ b/README.md
@@ -32,14 +32,14 @@ docker run --rm -v /home/docker/portainer/data:/data portainer/helper-reset-pass
### http-portainer.conf
```
- ServerName portainer.gmolab.net
+ ServerName portainer.gmotech.net
ServerAlias portainer
CustomLog logs/portainer_access_log common
ErrorLog logs/portainer_error_log
# redirect to https
RewriteEngine on
RewriteCond %{SERVER_NAME} =portainer [OR]
- RewriteCond %{SERVER_NAME} =portainer.gmolab.net
+ RewriteCond %{SERVER_NAME} =portainer.gmotech.net
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
```
@@ -50,7 +50,7 @@ docker run --rm -v /home/docker/portainer/data:/data portainer/helper-reset-pass
##
# General setup for the virtual host
- ServerName portainer.gmolab.net
+ ServerName portainer.gmotech.net
ServerAlias portainer
CustomLog logs/portainer_access_log common
ErrorLog logs/portainer_error_log
@@ -67,9 +67,9 @@ RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:!aNULL
# HTTP Strict Transport Security (mod_headers is required) (63072000 seconds)
Header always set Strict-Transport-Security "max-age=63072000"
# certificats
- SSLCertificateFile "/etc/httpd/auth/cert/gmolab.net.crt"
- SSLCertificateKeyFile "/etc/httpd/auth/cert/gmolab.net.key"
- SSLCertificateChainFile "/etc/httpd/auth/cert/gmolabCA.crt"
+ SSLCertificateFile "/etc/httpd/auth/cert/gmotech.net.crt"
+ SSLCertificateKeyFile "/etc/httpd/auth/cert/gmotech.net.key"
+ SSLCertificateChainFile "/etc/httpd/auth/cert/gmotechCA.crt"
# proxy
SSLProxyEngine On
ProxyPreserveHost On
@@ -79,8 +79,10 @@ RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:!aNULL
```
## Access
-https://portainer.gmolab.net
+https://portainer.gmotech.net
+## Change Session lifetime
+To TEST !! (one year)
## Sources
https://omar2cloud.github.io/rasp/psswd/
https://docs.portainer.io/admin/settings/authentication
diff --git a/docker-compose.yaml b/docker-compose.yaml
index 616018f..78a8a78 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -1,6 +1,7 @@
services:
portainer:
- command: --sslcert /certs/gmolab.net.crt --sslkey /certs/gmolab.net.key
+ #command: --sslcert /certs/gmolab.net.crt --sslkey /certs/gmolab.net.key
+ command: --sslcert /certs/gmotech.net.crt --sslkey /certs/gmotech.net.key
image: portainer/portainer-ee:latest
container_name: portainer
ports: