09 2022 档案
摘要:可以使用以下地址工具按需生成 nginx 配置 https://ssl-config.mozilla.org/#server=nginx HSTS 的配置为: # HSTS (ngx_http_headers_module is required) (63072000 seconds) add_he
阅读全文
摘要:首先需要在引用 nuget 包:Microsoft.AspNetCore.Mvc.NewtonsoftJson 然后在添加 MVC 的 Service 时,进行添加配置: builder.Services .AddControllersWithViews() .AddNewtonsoftJson(o
阅读全文