concise names for docker containers and links

This commit is contained in:
HTWKalender Team
2024-07-16 14:54:56 -04:00
parent 3f7725e1d6
commit 3895537f4f
5 changed files with 24 additions and 8 deletions

View File

@ -6,10 +6,19 @@ server {
ssl_certificate_key /etc/nginx/certs/codeocean.key;
location / {
proxy_pass http://app:7000; # Ersetzen Sie 'frontend' durch den Namen Ihres Frontend-Services und '80' durch den Port, auf dem Ihr Frontend läuft
proxy_pass http://codeocean:7000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
server {
listen 80;
server_name localhost;
location / {
proxy_pass http://codeocean:7000;
}
}