Fix nitpicks in nginx configs (#1730) NOCHANGELOG

1373-login-form-move-reset-your-password-link
JuniorJPDJ 2022-04-26 16:03:09 +00:00 zatwierdzone przez Georg Krause
rodzic 9045cbbd3f
commit 08f54b1f43
2 zmienionych plików z 6 dodań i 6 usunięć

Wyświetl plik

@ -47,7 +47,7 @@ server {
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
}
location /front/embed.html {
location = /front/embed.html {
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data:; object-src 'none'; media-src 'self' data:";
add_header Referrer-Policy "strict-origin-when-cross-origin";
@ -81,7 +81,7 @@ server {
# this is an internal location that is used to serve
# audio files once correct permission / authentication
# has been checked on API side
location /_protected/media {
location /_protected/media/ {
internal;
alias ${MEDIA_ROOT};
@ -95,7 +95,7 @@ server {
# proxy_pass $1;
# }
location /_protected/music {
location /_protected/music/ {
# this is an internal location that is used to serve
# audio files once correct permission / authentication
# has been checked on API side

Wyświetl plik

@ -93,7 +93,7 @@ server {
add_header Pragma public;
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
}
location /front/embed.html {
location = /front/embed.html {
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data:; object-src 'none'; media-src 'self' data:; worker-src 'self'";
add_header Referrer-Policy "strict-origin-when-cross-origin";
@ -124,7 +124,7 @@ server {
alias ${MEDIA_ROOT}/;
}
location /_protected/media {
location /_protected/media/ {
# this is an internal location that is used to serve
# audio files once correct permission / authentication
# has been checked on API side
@ -141,7 +141,7 @@ server {
# proxy_pass $1;
# }
location /_protected/music {
location /_protected/music/ {
# this is an internal location that is used to serve
# audio files once correct permission / authentication
# has been checked on API side