fix: repair blue-green deployment architecture
Some checks failed
Deploy to OCIWP / deploy (push) Failing after 54s
Some checks failed
Deploy to OCIWP / deploy (push) Failing after 54s
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user