1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
| server { listen 443 ssl; server_name secrets--manager.oss-cn-shanghai.aliyuncs.com; keepalive_timeout 65; client_max_body_size 512m; client_header_buffer_size 1024k; large_client_header_buffers 4 1024k; client_body_timeout 5m; ssl_certificate "/etc/nginx/conf.d/ssl/private.crt"; ssl_certificate_key "/etc/nginx/conf.d/ssl/private.key"; ssl_session_timeout 10m; ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; ssl_ciphers HIGH:!ADH:!aNULL:!MD5:!3DES:!IDEA:!DES; ssl_prefer_server_ciphers on; ssl_session_cache shared:SSL:10m; fastcgi_param HTTPS $https if_not_empty;
add_header Alt-Svc 'h3=":443"; ma=86400'; add_header Cross-0rigin-Opener-Policy same-origin; add_header Cross-0rigin-Embedder-Policy require-corp; location / { root /usr/share/nginx/html; index index.html; } location /mes-secrets-manager.json { default_type application/json; return 200 '{"tokenKey":"UoeqTwLRGtZJug==","jksResourceName":"xxx-jwt.jks","jksName":"xxxx","jksAlias":"iyunware-oauth-jwt","authorizationKey":"","refreshTokenKey":"","platformKey":"","mapKey":""}'; } }
|