-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Ajoute un encart zeroaccident * fix: Corrige l'affichage responsive de l'encart zeroaccident * fix: nginx config * fix: temp redirect to mobile stores * fix: update zeroaccident * fix: eslint * feat: ajoute une page de redirection vers le store pour l'app ZeroAccident * feat: redirige en fonction de la platform et du device * fix: Politique de confidentialité 2024
- Loading branch information
Showing
25 changed files
with
600 additions
and
556 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,2 @@ | ||
app: | ||
host: 1000jours.fabrique.social.gouv.fr | ||
ingress: | ||
# adjustments for /acvc path | ||
# proxy_upstream_name must be set to correct upstream | ||
# https://docs.unity3d.com/Manual/webgl-deploying.html | ||
annotations: | ||
nginx.ingress.kubernetes.io/server-snippet: | | ||
location ~ .+\.(data|symbols\.json)\.gz$ { | ||
proxy_hide_header X-Content-Type-Options; | ||
proxy_hide_header Content-Type; | ||
gzip off; # Do not attempt dynamic gzip compression on an already compressed file | ||
add_header Content-Encoding gzip; | ||
add_header Content-Type application/gzip; # The correct MIME type here would be application/octet-stream, but due to Safari bug https://bugs.webkit.org/show_bug.cgi?id=247421, it's preferable to use MIME Type application/gzip instead. | ||
set $proxy_upstream_name "nos1000jours-landing-app-http"; | ||
proxy_pass http://upstream_balancer; | ||
} | ||
location ~ .+\.js\.gz$ { | ||
proxy_hide_header X-Content-Type-Options; | ||
proxy_hide_header Content-Type; | ||
gzip off; # Do not attempt dynamic gzip compression on an already compressed file | ||
add_header Content-Encoding gzip; # The correct MIME type here would be application/octet-stream, but due to Safari bug https://bugs.webkit.org/show_bug.cgi?id=247421, it's preferable to use MIME Type application/gzip instead. | ||
add_header Content-Type application/javascript; # The correct MIME type here would be application/octet-stream, but due to Safari bug https://bugs.webkit.org/show_bug.cgi?id=247421, it's preferable to use MIME Type application/gzip instead. | ||
set $proxy_upstream_name "nos1000jours-landing-app-http"; | ||
proxy_pass http://upstream_balancer; | ||
} | ||
location ~ .+\.wasm\.gz$ { | ||
proxy_hide_header X-Content-Type-Options; | ||
proxy_hide_header Content-Type; | ||
gzip off; # Do not attempt dynamic gzip compression on an already compressed file | ||
add_header Content-Encoding gzip; # The correct MIME type here would be application/octet-stream, but due to Safari bug https://bugs.webkit.org/show_bug.cgi?id=247421, it's preferable to use MIME Type application/gzip instead. | ||
add_header Content-Type application/wasm; # The correct MIME type here would be application/octet-stream, but due to Safari bug https://bugs.webkit.org/show_bug.cgi?id=247421, it's preferable to use MIME Type application/gzip instead. | ||
set $proxy_upstream_name "nos1000jours-landing-app-http"; | ||
proxy_pass http://upstream_balancer; | ||
} | ||
nginx.ingress.kubernetes.io/configuration-snippet: | | ||
more_set_headers "Content-Security-Policy: default-src 'none'; connect-src 'self' https://*.gouv.fr; font-src 'self' data:; img-src 'self'; script-src 'self' https://*.gouv.fr 'unsafe-inline' 'unsafe-eval'; frame-src 'self' https://*.gouv.fr; style-src 'self' 'unsafe-inline'"; | ||
more_set_headers "X-Frame-Options: sameorigin"; | ||
more_set_headers "X-XSS-Protection: 1; mode=block"; | ||
more_set_headers "X-Content-Type-Options: none"; | ||
host: 1000jours.fabrique.social.gouv.fr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.