feat: Bit of frontend changes
This commit is contained in:
@@ -16,7 +16,7 @@ http {
|
||||
server_name _;
|
||||
|
||||
add_header Content-Security-Policy "default-src 'self' 'unsafe-inline' data:;";
|
||||
add_header Permissions-Policy "geolocation=(), midi=(), camera=(), usb=(), payment=(), vr=(), speaker=(), ambient-light-sensor=(), gyroscope=(), microphone=(), usb=(), interest-cohort=()";
|
||||
add_header Permissions-Policy "geolocation=(self), midi=(), camera=(), usb=(), payment=(), vr=(), speaker=(), ambient-light-sensor=(), gyroscope=(), microphone=(), usb=(), interest-cohort=()";
|
||||
add_header Referer "no-referrer";
|
||||
add_header Referrer-Policy "no-referrer";
|
||||
add_header Strict-Transport-Security "max-age=63072000" always;
|
||||
@@ -26,10 +26,10 @@ http {
|
||||
|
||||
client_max_body_size 1;
|
||||
|
||||
access_log off;
|
||||
error_log /dev/null emerg;
|
||||
|
||||
location /r/ {
|
||||
# Do not log location data
|
||||
access_log off;
|
||||
error_log /dev/null emerg;
|
||||
proxy_pass http://backend:9000/r/;
|
||||
}
|
||||
|
||||
@@ -41,11 +41,6 @@ http {
|
||||
gzip_types *;
|
||||
expires 1d;
|
||||
|
||||
location = /privacy-policy.html {
|
||||
root /usr/share/nginx/html;
|
||||
try_files /privacy-policy.html =404;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://frontend:80/;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user