We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8912e81 commit 6fe0a13Copy full SHA for 6fe0a13
.docker/nginx.conf
@@ -18,7 +18,7 @@ http {
18
include /etc/nginx/mime.types;
19
default_type application/octet-stream;
20
21
- set_real_ip_from 172.16.0.0/8;
+ set_real_ip_from 172.16.0.0/16;
22
real_ip_recursive on;
23
real_ip_header X-Forwarded-For;
24
.docker/templates/default.conf.template
@@ -6,6 +6,11 @@ server {
6
7
client_max_body_size ${NGINX_MAX_BODY_SIZE};
8
9
+ # This also needs to be set in the single server tag and not only in http.
10
11
+ real_ip_recursive on;
12
+ real_ip_header X-Forwarded-For;
13
+
14
location = /favicon.ico {
15
log_not_found off;
16
access_log off;
.docker/vhost.conf
.github/workflows/docker-image.yaml
Dockerfile
0 commit comments