nginx-config
Nginx SSL: error:141CF06C:SSL routines:tls_parse_ctos_key_share:bad key share
This isn’t your problem. The best thing you can do in this situation is just to keep your server reasonably updated and secured. At best for you, the client side of a request was running seriously outdated software, and at worst your server is simply being scanned for vulnerabilities by compromised devices connected to the … Read more
Setting a trace id in nginx load balancer
nginx 1.11.0 added the new variable $request_id which is a unique identifier, so you can do something like: location / { proxy_pass http://upstream; proxy_set_header X-Request-Id $request_id; } See reference at http://nginx.org/en/docs/http/ngx_http_core_module.html#var_request_id
Vuejs app showing Invalid host header error loop
I believe you need to change vue.config.js module.exports = { devServer: { disableHostCheck: true } }
Guide on how to use regex in Nginx location block section?
Nginx location: Nginx location block section have a search order, a modifier, an implicit match type and an implicit switch to whether stop the search on match or not. the following array describe it for regex. # ——————————————————————————————————————————————– # Search-Order Modifier Description Match-Type Stops-search-on-match # ——————————————————————————————————————————————– # 1st = The URI must match the specified … Read more
How to edit nginx.conf to increase file size upload
Add client_max_body_size Now that you are editing the file you need to add the line into the server block, like so; server { client_max_body_size 8M; //other lines… } If you are hosting multiple sites add it to the http context like so; http { client_max_body_size 8M; //other lines… } And also update the upload_max_filesize in … Read more