Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions templates/drupal-10/.docker/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ http {
include /etc/nginx/mime.types;
default_type application/octet-stream;

set_real_ip_from 172.16.0.0/16;
real_ip_recursive on;
real_ip_header X-Forwarded-For;
# Note: set_real_ip_from is only set in the server block to make i configurable

log_format main '$http_x_real_ip - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ server {

client_max_body_size ${NGINX_MAX_BODY_SIZE};

# This also needs to be set in the single server tag and not only in http.
set_real_ip_from 172.16.0.0/16;
set_real_ip_from ${NGINX_SET_REAL_IP_FROM:-192.168.39.0/24};
real_ip_recursive on;
real_ip_header X-Forwarded-For;

Expand Down
4 changes: 1 addition & 3 deletions templates/drupal-11/.docker/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ http {
include /etc/nginx/mime.types;
default_type application/octet-stream;

set_real_ip_from 172.16.0.0/16;
real_ip_recursive on;
real_ip_header X-Forwarded-For;
# Note: set_real_ip_from is only set in the server block to make i configurable

log_format main '$http_x_real_ip - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ server {

client_max_body_size ${NGINX_MAX_BODY_SIZE};

# This also needs to be set in the single server tag and not only in http.
set_real_ip_from 172.16.0.0/16;
set_real_ip_from ${NGINX_SET_REAL_IP_FROM:-192.168.39.0/24};
real_ip_recursive on;
real_ip_header X-Forwarded-For;

Expand Down
4 changes: 1 addition & 3 deletions templates/drupal-7/.docker/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ http {
include /etc/nginx/mime.types;
default_type application/octet-stream;

set_real_ip_from 172.16.0.0/16;
real_ip_recursive on;
real_ip_header X-Forwarded-For;
# Note: set_real_ip_from is only set in the server block to make i configurable

log_format main '$http_x_real_ip - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
Expand Down
2 changes: 1 addition & 1 deletion templates/drupal-7/.docker/templates/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ server {

client_max_body_size ${NGINX_MAX_BODY_SIZE};

# This also needs to be set in the single server tag and not only in http.
set_real_ip_from 172.16.0.0/16;
set_real_ip_from ${NGINX_SET_REAL_IP_FROM:-192.168.39.0/24};
real_ip_recursive on;
real_ip_header X-Forwarded-For;

Expand Down
4 changes: 1 addition & 3 deletions templates/drupal-8/.docker/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ http {
include /etc/nginx/mime.types;
default_type application/octet-stream;

set_real_ip_from 172.16.0.0/16;
real_ip_recursive on;
real_ip_header X-Forwarded-For;
# Note: set_real_ip_from is only set in the server block to make i configurable

log_format main '$http_x_real_ip - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
Expand Down
2 changes: 1 addition & 1 deletion templates/drupal-8/.docker/templates/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ server {

client_max_body_size ${NGINX_MAX_BODY_SIZE};

# This also needs to be set in the single server tag and not only in http.
set_real_ip_from 172.16.0.0/16;
set_real_ip_from ${NGINX_SET_REAL_IP_FROM:-192.168.39.0/24};
real_ip_recursive on;
real_ip_header X-Forwarded-For;

Expand Down
4 changes: 1 addition & 3 deletions templates/drupal-9/.docker/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ http {
include /etc/nginx/mime.types;
default_type application/octet-stream;

set_real_ip_from 172.16.0.0/16;
real_ip_recursive on;
real_ip_header X-Forwarded-For;
# Note: set_real_ip_from is only set in the server block to make i configurable

log_format main '$http_x_real_ip - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
Expand Down
2 changes: 1 addition & 1 deletion templates/drupal-9/.docker/templates/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ server {

client_max_body_size ${NGINX_MAX_BODY_SIZE};

# This also needs to be set in the single server tag and not only in http.
set_real_ip_from 172.16.0.0/16;
set_real_ip_from ${NGINX_SET_REAL_IP_FROM:-192.168.39.0/24};
real_ip_recursive on;
real_ip_header X-Forwarded-For;

Expand Down
4 changes: 1 addition & 3 deletions templates/symfony-3/.docker/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ http {
include /etc/nginx/mime.types;
default_type application/octet-stream;

set_real_ip_from 172.16.0.0/16;
real_ip_recursive on;
real_ip_header X-Forwarded-For;
# Note: set_real_ip_from is only set in the server block to make i configurable

log_format main '$http_x_real_ip - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ server {

client_max_body_size ${NGINX_MAX_BODY_SIZE};

# This also needs to be set in the single server tag and not only in http.
set_real_ip_from 172.16.0.0/16;
set_real_ip_from ${NGINX_SET_REAL_IP_FROM:-192.168.39.0/24};
real_ip_recursive on;
real_ip_header X-Forwarded-For;

Expand Down
4 changes: 1 addition & 3 deletions templates/symfony-4/.docker/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ http {
include /etc/nginx/mime.types;
default_type application/octet-stream;

set_real_ip_from 172.16.0.0/16;
real_ip_recursive on;
real_ip_header X-Forwarded-For;
# Note: set_real_ip_from is only set in the server block to make i configurable

log_format main '$http_x_real_ip - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ server {

client_max_body_size ${NGINX_MAX_BODY_SIZE};

# This also needs to be set in the single server tag and not only in http.
set_real_ip_from 172.16.0.0/16;
set_real_ip_from ${NGINX_SET_REAL_IP_FROM:-192.168.39.0/24};
real_ip_recursive on;
real_ip_header X-Forwarded-For;

Expand Down
4 changes: 1 addition & 3 deletions templates/symfony-6/.docker/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ http {
include /etc/nginx/mime.types;
default_type application/octet-stream;

set_real_ip_from 172.16.0.0/16;
real_ip_recursive on;
real_ip_header X-Forwarded-For;
# Note: set_real_ip_from is only set in the server block to make i configurable

log_format main '$http_x_real_ip - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ server {

client_max_body_size ${NGINX_MAX_BODY_SIZE};

# This also needs to be set in the single server tag and not only in http.
set_real_ip_from 172.16.0.0/16;
set_real_ip_from ${NGINX_SET_REAL_IP_FROM:-192.168.39.0/24};
real_ip_recursive on;
real_ip_header X-Forwarded-For;

Expand Down
1 change: 1 addition & 0 deletions traefik/traefik.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ api:
dashboard: true
insecure: true
debug: true
disableDashboardAd: true

entryPoints:
http:
Expand Down