docker file

This commit is contained in:
hamid zarghami
2025-04-16 12:54:50 +03:30
parent c797df85ce
commit a2c226b5a8
2 changed files with 43 additions and 43 deletions
+31 -31
View File
@@ -17,37 +17,37 @@ const nextConfig: NextConfig = {
},
],
},
// headers: async () => [
// {
// source: "/:path*",
// headers: [
// {
// key: "X-DNS-Prefetch-Control",
// value: "on",
// },
// {
// key: "Strict-Transport-Security",
// value: "max-age=63072000; includeSubDomains; preload",
// },
// {
// key: "X-XSS-Protection",
// value: "1; mode=block",
// },
// {
// key: "X-Frame-Options",
// value: "SAMEORIGIN",
// },
// {
// key: "X-Content-Type-Options",
// value: "nosniff",
// },
// {
// key: "Referrer-Policy",
// value: "origin-when-cross-origin",
// },
// ],
// },
// ],
headers: async () => [
{
source: "/:path*",
headers: [
{
key: "X-DNS-Prefetch-Control",
value: "on",
},
{
key: "Strict-Transport-Security",
value: "max-age=63072000; includeSubDomains; preload",
},
{
key: "X-XSS-Protection",
value: "1; mode=block",
},
{
key: "X-Frame-Options",
value: "SAMEORIGIN",
},
{
key: "X-Content-Type-Options",
value: "nosniff",
},
{
key: "Referrer-Policy",
value: "origin-when-cross-origin",
},
],
},
],
};
export default nextConfig;