摘要: 可以使用以下地址工具按需生成 nginx 配置 https://ssl-config.mozilla.org/#server=nginx HSTS 的配置为: # HSTS (ngx_http_headers_module is required) (63072000 seconds) add_he 阅读全文
posted @ 2022-09-30 10:50 不是豆豆 阅读(730) 评论(0) 推荐(0) 编辑
摘要: 首先需要在引用 nuget 包:Microsoft.AspNetCore.Mvc.NewtonsoftJson 然后在添加 MVC 的 Service 时,进行添加配置: builder.Services .AddControllersWithViews() .AddNewtonsoftJson(o 阅读全文
posted @ 2022-09-30 10:47 不是豆豆 阅读(277) 评论(0) 推荐(0) 编辑
友情链接:迷途