- visitcounter-app.container: Network alias=app damit nginx den Upstream findet - nginx-default.conf: proxy_pass http://app:8080 (gleich wie Compose) - visitcounter-proxy.container: ExecStartPre sleep entfernt Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
9 lines
184 B
Text
9 lines
184 B
Text
server {
|
|
listen 80;
|
|
|
|
location / {
|
|
proxy_pass http://app:8080;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
}
|
|
}
|