Docker: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m 1 revision imported |
(No difference)
| |
Latest revision as of 14:34, 5 January 2025
When using a Docker container put Apache as proxy in front:
root@paardenpad:~# vim /etc/apache2/mods-enabled/proxy.conf
# MiWakeUpLight <Location /miwakeuplight> Order deny,allow Deny from all Allow from 192.168.2.0/24 ProxyPass http://172.17.0.2:8080/miwakeuplight ProxyPassReverse http://172.17.0.2:8080/miwakeuplight </Location>
Take care to set context path equal, so miwakuplight runs on context path miwakuplight in container and on ppl.