Skip to content

Commit

Permalink
Change api host
Browse files Browse the repository at this point in the history
  • Loading branch information
timvanoostrom committed Feb 5, 2024
1 parent e4a0971 commit 9e0e56c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions conf/nginx-server-default.template.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# CSP details:
# Usabilla
# Usabilla
# Domains https://d6tizftlrpuof.cloudfront.net https://d6tizftlrpuof.cloudfront.net
# Hashes 'sha256-3zlukFCE2NAZ1CGoSeIoF0IIVuyFB0H6mcqhOyOqspw=' 'sha256-aqNNdDLnnrDOnTNdkJpYlAxKVJtLt9CtFLklmInuUAE=' 'sha256-cvlvhwY+ty738GCnq1Y3zkFc8vj6uNi7jMXe/iyaIhE='
# Nonces 'nonce-e8b4abda34ab' + 'nonce-9fd5da44aa5b' Usabilla.
Expand Down Expand Up @@ -27,7 +27,7 @@ server {
set $pp_header "geolocation=(),midi=(),sync-xhr=(),microphone=(),camera=(),magnetometer=(),gyroscope=(),fullscreen=(self),payment=()";

set $target_host $MA_FRONTEND_HOST;
set $api_host $MA_API_HOST;
set $api_host $MA_FRONTEND_HOST;

# Note: prolly better to put this in env somewhere
set $mams_bff_login "https://$api_host/api/v1/auth/digid/login";
Expand All @@ -38,8 +38,8 @@ server {
server_name localhost;
large_client_header_buffers 4 16k;

root /usr/share/nginx/html;
root /usr/share/nginx/html;


location /api/login {
if ($host = $target_host) {
Expand Down

0 comments on commit 9e0e56c

Please sign in to comment.