Skip to content

Commit 4e1b438

Browse files
authored
Docs: Use HTTPS for NGINX links. (#13653)
Co-authored-by: marcel2012 <13705842+marcel2012@users.noreply.github.com>
1 parent 801ea32 commit 4e1b438

File tree

13 files changed

+130
-130
lines changed

13 files changed

+130
-130
lines changed

NEW_CONTRIBUTOR.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ font-family: Tahoma, Verdana, Arial, sans-serif; }
111111
working. Further configuration is required.</p>
112112
113113
<p>For online documentation and support please refer to
114-
<a href="http://nginx.org/">nginx.org</a>.<br/>
114+
<a href="https://nginx.org/">nginx.org</a>.<br/>
115115
Commercial support is available at
116-
<a href="http://nginx.com/">nginx.com</a>.</p>
116+
<a href="https://nginx.com/">nginx.com</a>.</p>
117117
118118
<p><em>Thank you for using nginx.</em></p>
119119
</body>
@@ -404,9 +404,9 @@ font-family: Tahoma, Verdana, Arial, sans-serif; }
404404
working. Further configuration is required.</p>
405405
406406
<p>For online documentation and support please refer to
407-
<a href="http://nginx.org/">nginx.org</a>.<br/>
407+
<a href="https://nginx.org/">nginx.org</a>.<br/>
408408
Commercial support is available at
409-
<a href="http://nginx.com/">nginx.com</a>.</p>
409+
<a href="https://nginx.com/">nginx.com</a>.</p>
410410
411411
<p><em>Thank you for using nginx.</em></p>
412412
</body>

docs/user-guide/nginx-configuration/configmap.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ Enables or disables [HTTP/2](https://nginx.org/en/docs/http/ngx_http_v2_module.h
755755

756756
## gzip-disable
757757

758-
Disables [gzipping](http://nginx.org/en/docs/http/ngx_http_gzip_module.html#gzip_disable) of responses for requests with "User-Agent" header fields matching any of the specified regular expressions.
758+
Disables [gzipping](https://nginx.org/en/docs/http/ngx_http_gzip_module.html#gzip_disable) of responses for requests with "User-Agent" header fields matching any of the specified regular expressions.
759759

760760
## gzip-level
761761

@@ -809,14 +809,14 @@ _References:_
809809
Sets the bucket size for the variables hash table.
810810

811811
_References:_
812-
[https://nginx.org/en/docs/http/ngx_http_map_module.html#variables_hash_bucket_size](https://nginx.org/en/docs/http/ngx_http_map_module.html#variables_hash_bucket_size)
812+
[https://nginx.org/en/docs/http/ngx_http_map_module.html#map_hash_bucket_size](https://nginx.org/en/docs/http/ngx_http_map_module.html#map_hash_bucket_size)
813813

814814
## variables-hash-max-size
815815

816816
Sets the maximum size of the variables hash table.
817817

818818
_References:_
819-
[https://nginx.org/en/docs/http/ngx_http_map_module.html#variables_hash_max_size](https://nginx.org/en/docs/http/ngx_http_map_module.html#variables_hash_max_size)
819+
[https://nginx.org/en/docs/http/ngx_http_map_module.html#map_hash_max_size](https://nginx.org/en/docs/http/ngx_http_map_module.html#map_hash_max_size)
820820

821821
## upstream-keepalive-connections
822822

@@ -835,7 +835,7 @@ Sets the maximum time during which requests can be processed through one keepali
835835
_**default:**_ "1h"
836836

837837
_References:_
838-
[http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive_time](http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive_time)
838+
[https://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive_time](https://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive_time)
839839

840840
## upstream-keepalive-timeout
841841

@@ -1369,7 +1369,7 @@ Enables debugging log for selected client connections.
13691369
_**default:**_ ""
13701370

13711371
_References:_
1372-
[http://nginx.org/en/docs/ngx_core_module.html#debug_connection](http://nginx.org/en/docs/ngx_core_module.html#debug_connection)
1372+
[https://nginx.org/en/docs/ngx_core_module.html#debug_connection](https://nginx.org/en/docs/ngx_core_module.html#debug_connection)
13731373

13741374
## strict-validate-path-type
13751375

internal/ingress/annotations/authreq/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ var (
250250
methodsRegex = regexp.MustCompile("(GET|HEAD|POST|PUT|PATCH|DELETE|CONNECT|OPTIONS|TRACE)")
251251
headerRegexp = regexp.MustCompile(`^[a-zA-Z\d\-_]+$`)
252252
statusCodeRegex = regexp.MustCompile(`^\d{3}$`)
253-
durationRegex = regexp.MustCompile(`^\d+(ms|s|m|h|d|w|M|y)$`) // see http://nginx.org/en/docs/syntax.html
253+
durationRegex = regexp.MustCompile(`^\d+(ms|s|m|h|d|w|M|y)$`) // see https://nginx.org/en/docs/syntax.html
254254
)
255255

256256
// ValidMethod checks is the provided string a valid HTTP method

internal/ingress/annotations/ratelimit/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func (rt1 *Config) Equal(rt2 *Config) bool {
9999
}
100100

101101
// Zone returns information about the NGINX rate limit (limit_req_zone)
102-
// http://nginx.org/en/docs/http/ngx_http_limit_req_module.html#limit_req_zone
102+
// https://nginx.org/en/docs/http/ngx_http_limit_req_module.html#limit_req_zone
103103
type Zone struct {
104104
Name string `json:"name"`
105105
Limit int `json:"limit"`

internal/ingress/controller/config/config.go

Lines changed: 81 additions & 81 deletions
Large diffs are not rendered by default.

internal/ingress/controller/template/template.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ func buildNextUpstream(i, r interface{}) string {
993993
return strings.Join(nextUpstreamCodes, " ")
994994
}
995995

996-
// refer to http://nginx.org/en/docs/syntax.html
996+
// refer to https://nginx.org/en/docs/syntax.html
997997
// Nginx differentiates between size and offset
998998
// offset directives support gigabytes in addition
999999
var (
@@ -1002,7 +1002,7 @@ var (
10021002
)
10031003

10041004
// isValidByteSize validates size units valid in nginx
1005-
// http://nginx.org/en/docs/syntax.html
1005+
// https://nginx.org/en/docs/syntax.html
10061006
func isValidByteSize(input interface{}, isOffset bool) bool {
10071007
s, ok := input.(string)
10081008
if !ok {

internal/ingress/controller/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func upstreamServiceNameAndPort(service *networking.IngressServiceBackend) (stri
7575

7676
// sysctlSomaxconn returns the maximum number of connections that can be queued
7777
// for acceptance (value of net.core.somaxconn)
78-
// http://nginx.org/en/docs/http/ngx_http_core_module.html#listen
78+
// https://nginx.org/en/docs/http/ngx_http_core_module.html#listen
7979
func sysctlSomaxconn() int {
8080
maxConns, err := getSysctl("net/core/somaxconn")
8181
if err != nil || maxConns < 512 {

internal/ingress/defaults/main.go

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ type Backend struct {
2626
AppRoot string `json:"app-root"`
2727

2828
// enables which HTTP codes should be passed for processing with the error_page directive
29-
// http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_intercept_errors
30-
// http://nginx.org/en/docs/http/ngx_http_core_module.html#error_page
29+
// https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_intercept_errors
30+
// https://nginx.org/en/docs/http/ngx_http_core_module.html#error_page
3131
// By default this is disabled
3232
CustomHTTPErrors []int `json:"custom-http-errors"`
3333

@@ -37,77 +37,77 @@ type Backend struct {
3737
// allows usage of CustomHTTPErrors without intercepting service errors
3838
// e.g. custom 404 and 503 when service-a does not exist or is not available
3939
// but service-a can return 404 and 503 error codes without intercept
40-
// http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_intercept_errors
40+
// https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_intercept_errors
4141
// By default this is false
4242
DisableProxyInterceptErrors bool `json:"disable-proxy-intercept-errors"`
4343

44-
// http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
44+
// https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
4545
// Sets the maximum allowed size of the client request body
4646
ProxyBodySize string `json:"proxy-body-size"`
4747

4848
// Defines a timeout for establishing a connection with a proxied server.
4949
// It should be noted that this timeout cannot usually exceed 75 seconds.
50-
// http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_connect_timeout
50+
// https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_connect_timeout
5151
ProxyConnectTimeout int `json:"proxy-connect-timeout"`
5252

5353
// Timeout in seconds for reading a response from the proxied server. The timeout is set only between
5454
// two successive read operations, not for the transmission of the whole response
55-
// http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_read_timeout
55+
// https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_read_timeout
5656
ProxyReadTimeout int `json:"proxy-read-timeout"`
5757

5858
// Timeout in seconds for transmitting a request to the proxied server. The timeout is set only between
5959
// two successive write operations, not for the transmission of the whole request.
60-
// http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_send_timeout
60+
// https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_send_timeout
6161
ProxySendTimeout int `json:"proxy-send-timeout"`
6262

6363
// Sets the number of the buffers used for reading a response from the proxied server
64-
// http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffers
64+
// https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffers
6565
ProxyBuffersNumber int `json:"proxy-buffers-number"`
6666

6767
// Sets the size of the buffer used for reading the first part of the response received from the
6868
// proxied server. This part usually contains a small response header.
69-
// http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffer_size)
69+
// https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffer_size
7070
ProxyBufferSize string `json:"proxy-buffer-size"`
7171

7272
// Limits the total size of buffers that can be busy sending a response to the client while
7373
// the response is not yet fully read.
74-
// http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_busy_buffers_size
74+
// https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_busy_buffers_size
7575
ProxyBusyBuffersSize string `json:"proxy-busy-buffers-size"`
7676

7777
// Sets a text that should be changed in the path attribute of the “Set-Cookie” header fields of
7878
// a proxied server response.
79-
// http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cookie_path
79+
// https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cookie_path
8080
ProxyCookiePath string `json:"proxy-cookie-path"`
8181

8282
// Sets a text that should be changed in the domain attribute of the “Set-Cookie” header fields
8383
// of a proxied server response.
84-
// http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cookie_domain
84+
// https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cookie_domain
8585
ProxyCookieDomain string `json:"proxy-cookie-domain"`
8686

8787
// Specifies in which cases a request should be passed to the next server.
88-
// http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream
88+
// https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream
8989
ProxyNextUpstream string `json:"proxy-next-upstream"`
9090

9191
// Limits the time during which a request can be passed to the next server.
92-
// http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream_timeout
92+
// https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream_timeout
9393
ProxyNextUpstreamTimeout int `json:"proxy-next-upstream-timeout"`
9494

9595
// Limits the number of possible tries for passing a request to the next server.
9696
// https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream_tries
9797
ProxyNextUpstreamTries int `json:"proxy-next-upstream-tries"`
9898

9999
// Sets the original text that should be changed in the "Location" and "Refresh" header fields of a proxied server response.
100-
// http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_redirect
100+
// https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_redirect
101101
// Default: off
102102
ProxyRedirectFrom string `json:"proxy-redirect-from"`
103103

104104
// Sets the replacement text that should be changed in the "Location" and "Refresh" header fields of a proxied server response.
105-
// http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_redirect
105+
// https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_redirect
106106
// Default: off
107107
ProxyRedirectTo string `json:"proxy-redirect-to"`
108108

109109
// Enables or disables buffering of a client request body.
110-
// http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_request_buffering
110+
// https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_request_buffering
111111
ProxyRequestBuffering string `json:"proxy-request-buffering"`
112112

113113
// Name server/s used to resolve names of upstream servers into IP addresses.
@@ -131,14 +131,14 @@ type Backend struct {
131131
UsePortInRedirects bool `json:"use-port-in-redirects"`
132132

133133
// Enables or disables relative redirects. By default nginx uses absolute redirects.
134-
// http://nginx.org/en/docs/http/ngx_http_core_module.html#absolute_redirect
134+
// https://nginx.org/en/docs/http/ngx_http_core_module.html#absolute_redirect
135135
// Default: false
136136
RelativeRedirects bool `json:"relative-redirects"`
137137

138138
// Enable stickiness by client-server mapping based on a NGINX variable, text or a combination of both.
139139
// A consistent hashing method will be used which ensures only a few keys would be remapped to different
140140
// servers on upstream group changes
141-
// http://nginx.org/en/docs/http/ngx_http_upstream_module.html#hash
141+
// https://nginx.org/en/docs/http/ngx_http_upstream_module.html#hash
142142
UpstreamHashBy string `json:"upstream-hash-by"`
143143

144144
// Consistent hashing subset flag.
@@ -153,34 +153,34 @@ type Backend struct {
153153
LoadBalancing string `json:"load-balance"`
154154

155155
// WhitelistSourceRange allows limiting access to certain client addresses
156-
// http://nginx.org/en/docs/http/ngx_http_access_module.html
156+
// https://nginx.org/en/docs/http/ngx_http_access_module.html
157157
WhitelistSourceRange []string `json:"whitelist-source-range"`
158158

159159
// DenylistSourceRange allows limiting access to certain client addresses
160-
// http://nginx.org/en/docs/http/ngx_http_access_module.html
160+
// https://nginx.org/en/docs/http/ngx_http_access_module.html
161161
DenylistSourceRange []string `json:"denylist-source-range"`
162162

163163
// Limits the rate of response transmission to a client.
164164
// The rate is specified in bytes per second. The zero value disables rate limiting.
165165
// The limit is set per a request, and so if a client simultaneously opens two connections,
166166
// the overall rate will be twice as much as the specified limit.
167-
// http://nginx.org/en/docs/http/ngx_http_core_module.html#limit_rate
167+
// https://nginx.org/en/docs/http/ngx_http_core_module.html#limit_rate
168168
LimitRate int `json:"limit-rate"`
169169

170170
// Sets the initial amount after which the further transmission of a response to a client will be rate limited.
171-
// http://nginx.org/en/docs/http/ngx_http_core_module.html#limit_rate_after
171+
// https://nginx.org/en/docs/http/ngx_http_core_module.html#limit_rate_after
172172
LimitRateAfter int `json:"limit-rate-after"`
173173

174174
// Enables or disables buffering of responses from the proxied server.
175-
// http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffering
175+
// https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffering
176176
ProxyBuffering string `json:"proxy-buffering"`
177177

178178
// Modifies the HTTP version the proxy uses to interact with the backend.
179-
// http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_http_version
179+
// https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_http_version
180180
ProxyHTTPVersion string `json:"proxy-http-version"`
181181

182182
// Sets the maximum temp file size when proxy-buffers capacity is exceeded.
183-
// http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_max_temp_file_size
183+
// https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_max_temp_file_size
184184
ProxyMaxTempFileSize string `json:"proxy-max-temp-file-size"`
185185

186186
// By default, the NGINX ingress controller uses a list of all endpoints (Pod IP/port) in the NGINX upstream configuration.

internal/nginx/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ var HealthPath = "/healthz"
5555
var HealthCheckTimeout = 10 * time.Second
5656

5757
// StatusPath defines the path used to expose the NGINX status page
58-
// http://nginx.org/en/docs/http/ngx_http_stub_status_module.html
58+
// https://nginx.org/en/docs/http/ngx_http_stub_status_module.html
5959
var StatusPath = "/nginx_status"
6060

6161
// StreamPort defines the port used by NGINX for the NGINX stream configuration socket

rootfs/etc/nginx/lua/util/split.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function _M.get_last_value(var)
2424
return t[#t]
2525
end
2626

27-
-- http://nginx.org/en/docs/http/ngx_http_upstream_module.html#example
27+
-- https://nginx.org/en/docs/http/ngx_http_upstream_module.html#example
2828
-- CAVEAT: nginx is giving out : instead of , so the docs are wrong
2929
-- 127.0.0.1:26157 : 127.0.0.1:26157 , ngx.var.upstream_addr
3030
-- 200 : 200 , ngx.var.upstream_status

0 commit comments

Comments
 (0)