Fix semicolons
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2547>
This commit is contained in:
parent
88d7bdb8ab
commit
4cfa3a4f71
|
@ -81,7 +81,7 @@ server {
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
expires 1d;
|
expires 1d;
|
||||||
proxy_pass http://fw
|
proxy_pass http://fw;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,7 +50,7 @@ server {
|
||||||
|
|
||||||
|
|
||||||
# General configs
|
# General configs
|
||||||
root ${FUNKWHALE_FRONTEND_PATH},
|
root ${FUNKWHALE_FRONTEND_PATH};
|
||||||
client_max_body_size ${NGINX_MAX_BODY_SIZE};
|
client_max_body_size ${NGINX_MAX_BODY_SIZE};
|
||||||
charset utf-8;
|
charset utf-8;
|
||||||
|
|
||||||
|
@ -95,12 +95,12 @@ server {
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
expires 1d;
|
expires 1d;
|
||||||
alias ${FUNKWHALE_FRONTEND_PATH}/,
|
alias ${FUNKWHALE_FRONTEND_PATH}/;
|
||||||
try_files $uri $uri/ /index.html;
|
try_files $uri $uri/ /index.html;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ "/(front/)?embed.html" {
|
location ~ "/(front/)?embed.html" {
|
||||||
alias ${FUNKWHALE_FRONTEND_PATH}/embed.html,
|
alias ${FUNKWHALE_FRONTEND_PATH}/embed.html;
|
||||||
add_header Content-Security-Policy "connect-src https: http: 'self'; default-src 'self'; script-src 'self' unpkg.com 'unsafe-inline' 'unsafe-eval'; style-src https: http: 'self' 'unsafe-inline'; img-src https: http: 'self' data:; font-src https: http: 'self' data:; object-src 'none'; media-src https: http: 'self' data:";
|
add_header Content-Security-Policy "connect-src https: http: 'self'; default-src 'self'; script-src 'self' unpkg.com 'unsafe-inline' 'unsafe-eval'; style-src https: http: 'self' 'unsafe-inline'; img-src https: http: 'self' data:; font-src https: http: 'self' data:; object-src 'none'; media-src https: http: 'self' data:";
|
||||||
add_header Referrer-Policy "strict-origin-when-cross-origin";
|
add_header Referrer-Policy "strict-origin-when-cross-origin";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue