config behind a proxy or not
This commit is contained in:
parent
633ffba9bd
commit
550c0d9a7b
12
README.md
12
README.md
@ -73,8 +73,8 @@ docker run --rm -v /home/docker/portainer/data:/data portainer/helper-reset-pass
|
||||
SSLProxyEngine On
|
||||
ProxyPreserveHost On
|
||||
ProxyRequests off
|
||||
ProxyPass "/" "https://127.0.0.1:9443/"
|
||||
ProxyPassReverse "/" "https://127.0.0.1:9443/"
|
||||
ProxyPass "/" "http://127.0.0.1:9000/"
|
||||
ProxyPassReverse "/" "https://127.0.0.1:9000/"
|
||||
</VirtualHost>
|
||||
```
|
||||
## Access
|
||||
@ -86,7 +86,11 @@ To TEST !! (one year)
|
||||
https://omar2cloud.github.io/rasp/psswd/
|
||||
https://docs.portainer.io/admin/settings/authentication
|
||||
|
||||
## Changelog
|
||||
### v1.0 - 2024-11-11
|
||||
### Changelog
|
||||
### [1.0.1] - 2025-08-23
|
||||
#### Added
|
||||
- config behind a proxy or not
|
||||
---
|
||||
### [1.0.0] - 2024-11-11
|
||||
#### Added
|
||||
- initial version by [GMo](mailto:gilles.mouchet@gmail.com)
|
||||
|
||||
@ -1,13 +1,20 @@
|
||||
services:
|
||||
portainer:
|
||||
# if behind proxy
|
||||
command: --trusted-origins=portainer.gmolab.net
|
||||
# without proxy
|
||||
#command: --sslcert /certs/gmolab.net.crt --sslkey /certs/gmolab.net.key
|
||||
command: --sslcert /certs/gmotech.net.crt --sslkey /certs/gmotech.net.key
|
||||
#command: --sslcert /certs/gmotech.net.crt --sslkey /certs/gmotech.net.key
|
||||
image: portainer/portainer-ee:latest
|
||||
container_name: portainer
|
||||
ports:
|
||||
- 9443:9443
|
||||
# if behind proxy
|
||||
- 9000:9000
|
||||
# without proxy
|
||||
#- 9443:9443
|
||||
volumes:
|
||||
- /home/docker/certs:/certs
|
||||
# without proxy
|
||||
#- /home/docker/certs:/certs
|
||||
- /home/docker/portainer/data:/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
restart: always
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user