A platform for community discussion. Free, open, simple.
FIX: Update nginx config for v1.23 (#19651)
David Taylor584a6e355288
diff --git a/config/nginx.sample.conf b/config/nginx.sample.confindex fdb264d8728..c1a327fb76d 100644--- a/config/nginx.sample.conf+++ b/config/nginx.sample.conf@@ -33,7 +33,7 @@ large_client_header_buffers 4 32k;# attempt to preserve the proto, must be in http contextmap $http_x_forwarded_proto $thescheme {default $scheme;- https https;+ "~https$" https;}log_format log_discourse '[$time_local] "$http_host" $remote_addr "$request" "$http_user_agent" "$sent_http_x_discourse_route" $status $bytes_sent "$http_referer" $upstream_response_time $request_time "$upstream_http_x_discourse_username" "$upstream_http_x_discourse_trackview" "$upstream_http_x_queue_time" "$upstream_http_x_redis_calls" "$upstream_http_x_redis_time" "$upstream_http_x_sql_calls" "$upstream_http_x_sql_time"';