fix: repair blue-green deployment architecture
Some checks failed
Deploy to OCIWP / deploy (push) Failing after 54s

This commit is contained in:
jade
2026-07-24 23:24:55 +09:00
parent c38d59887c
commit b5565a4da0
4 changed files with 19 additions and 9 deletions

View File

@@ -6,7 +6,9 @@ server {
listen 8281;
location / {
add_header Content-Type text/html;
return 200 '<html><body><h1>Nginx Static Page</h1></body></html>';
proxy_pass http://gateway;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}

View File

@@ -6,7 +6,9 @@ server {
listen 8281;
location / {
add_header Content-Type text/html;
return 200 '<html><body><h1>Nginx Static Page</h1></body></html>';
proxy_pass http://gateway;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}