update: change npm install to npm ci
This commit is contained in:
+15
-3
@@ -1,4 +1,11 @@
|
||||
server {
|
||||
|
||||
add_header X-Frame-Options DENY always;
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
add_header X-XSS-Protection "1; mode=block" always;
|
||||
add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";
|
||||
|
||||
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
|
||||
@@ -13,7 +20,12 @@ server {
|
||||
root /usr/share/nginx/html;
|
||||
}
|
||||
|
||||
location /health {
|
||||
return 200;
|
||||
}
|
||||
# location /health {
|
||||
# return 200;
|
||||
# }
|
||||
|
||||
location ~ /\. {
|
||||
deny all;
|
||||
return 403;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user