Skip to content

Commit

Permalink
Remove pass-ui container CSP and 404 handling
Browse files Browse the repository at this point in the history
  • Loading branch information
markpatton committed Apr 1, 2024
1 parent b94e3fe commit 9583357
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .docker/nginx-template.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,4 @@ server {
root /usr/share/nginx/html;
index index.html index.htm;
}

# This is important, any 404 will cause the ember
# app to re-load. This is because all ember URLs
# (e.g. https://pass/grants/foo), when issued as an HTTP
# request, have nothing that 'serves' them. Instead, the
# ember app, when loaded, inspects the URL and renders the
# correct page client-side. So we want the ember app to load
# and parse all these 404 URLs.
#
# Note, the equals sign means that a 200 is returned
# instead of a 404
error_page 404 = ${PASS_UI_ROOT_URL}/index.html;

# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}

0 comments on commit 9583357

Please sign in to comment.