trust proxy
This commit is contained in:
@@ -45,6 +45,7 @@ services:
|
||||
- ./wp:/var/www/html
|
||||
- ./config/uploads.ini:/usr/local/etc/php/conf.d/uploads.ini
|
||||
- ./config/opcache.ini:/usr/local/etc/php/conf.d/opcache.ini
|
||||
- ./config/remoteip.conf:/etc/apache2/conf-enabled/remoteip.conf:ro
|
||||
- ./static:/export
|
||||
ports:
|
||||
- ${WP_PORT:-8080}:80
|
||||
|
||||
2
config/remoteip.conf
Normal file
2
config/remoteip.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
RemoteIPHeader X-Forwarded-For
|
||||
RemoteIPTrustedProxy 192.168.5.41
|
||||
Reference in New Issue
Block a user