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
|
SSLProxyEngine On
|
||||||
ProxyPreserveHost On
|
ProxyPreserveHost On
|
||||||
ProxyRequests off
|
ProxyRequests off
|
||||||
ProxyPass "/" "https://127.0.0.1:9443/"
|
ProxyPass "/" "http://127.0.0.1:9000/"
|
||||||
ProxyPassReverse "/" "https://127.0.0.1:9443/"
|
ProxyPassReverse "/" "https://127.0.0.1:9000/"
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
```
|
```
|
||||||
## Access
|
## Access
|
||||||
@ -86,7 +86,11 @@ To TEST !! (one year)
|
|||||||
https://omar2cloud.github.io/rasp/psswd/
|
https://omar2cloud.github.io/rasp/psswd/
|
||||||
https://docs.portainer.io/admin/settings/authentication
|
https://docs.portainer.io/admin/settings/authentication
|
||||||
|
|
||||||
## Changelog
|
### Changelog
|
||||||
### v1.0 - 2024-11-11
|
### [1.0.1] - 2025-08-23
|
||||||
|
#### Added
|
||||||
|
- config behind a proxy or not
|
||||||
|
---
|
||||||
|
### [1.0.0] - 2024-11-11
|
||||||
#### Added
|
#### Added
|
||||||
- initial version by [GMo](mailto:gilles.mouchet@gmail.com)
|
- initial version by [GMo](mailto:gilles.mouchet@gmail.com)
|
||||||
|
|||||||
@ -1,13 +1,20 @@
|
|||||||
services:
|
services:
|
||||||
portainer:
|
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/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
|
image: portainer/portainer-ee:latest
|
||||||
container_name: portainer
|
container_name: portainer
|
||||||
ports:
|
ports:
|
||||||
- 9443:9443
|
# if behind proxy
|
||||||
|
- 9000:9000
|
||||||
|
# without proxy
|
||||||
|
#- 9443:9443
|
||||||
volumes:
|
volumes:
|
||||||
- /home/docker/certs:/certs
|
# without proxy
|
||||||
|
#- /home/docker/certs:/certs
|
||||||
- /home/docker/portainer/data:/data
|
- /home/docker/portainer/data:/data
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
restart: always
|
restart: always
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user