All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Successful in 1m15s
Remote Deployment Pipeline / Cleanup Preview (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
27 lines
522 B
Plaintext
27 lines
522 B
Plaintext
events {}
|
|
|
|
http {
|
|
server {
|
|
listen 80;
|
|
server_name _;
|
|
|
|
location / {
|
|
add_header X-Mock-Service "legacy";
|
|
return 200 "Mock Nginx Legacy HTTP\n";
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl;
|
|
server_name _;
|
|
|
|
ssl_certificate /etc/nginx/certs/server.crt;
|
|
ssl_certificate_key /etc/nginx/certs/server.key;
|
|
|
|
location / {
|
|
add_header X-Mock-Service "legacy";
|
|
return 200 "Mock Nginx Legacy HTTPS\n";
|
|
}
|
|
}
|
|
}
|