Skip to content

Commit

Permalink
add members-data-api
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Kabo committed Dec 6, 2023
1 parent e7be53e commit b4c5fa9
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions cypress/cypress-nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,40 @@ http {
}
}

# members-data-api.thegulocal.com
# ======================
server {
listen 443 ssl;
server_name members-data-api.thegulocal.com;
proxy_http_version 1.1; # this is essential for chunked responses to work

ssl_certificate members-data-api.thegulocal.com.crt;
ssl_certificate_key members-data-api.thegulocal.com.key;
ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;

location / {
proxy_pass https://members-data-api.code.dev-theguardian.com;
proxy_next_upstream error timeout http_404 non_idempotent;
proxy_set_header "X-Forwarded-Proto" "https";
proxy_set_header Host members-data-api.code.dev-theguardian.com;
proxy_set_header Accept-Encoding "";
proxy_hide_header Content-Security-Policy;

proxy_cookie_domain members-data-api.code.dev-theguardian.com members-data-api.thegulocal.com;
proxy_cookie_domain .code.dev-theguardian.com .thegulocal.com;

sub_filter_types application/json;
sub_filter_once off;
sub_filter 'members-data-api.code.dev-theguardian.com' 'members-data-api.thegulocal.com';
}
}


# profile.thegulocal.com
# ======================
server {
listen 443 ssl;
server_name profile.thegulocal.com;
Expand Down

0 comments on commit b4c5fa9

Please sign in to comment.