feat: Bit of frontend changes
This commit is contained in:
@@ -20,4 +20,3 @@ services:
|
||||
- "127.0.0.1:9000:8080"
|
||||
volumes:
|
||||
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- ./privacy-policy.html:/usr/share/nginx/html/privacy-policy.html:ro
|
||||
|
||||
@@ -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/;
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
<!-- Fill this privacy policy. -->
|
||||
Reference in New Issue
Block a user