Deny web access to replication bootstrap snapshots
This commit is contained in:
@@ -10,6 +10,10 @@
|
||||
# CORS is handled at the edge by Traefik's headers middleware.
|
||||
# Do not set or strip Access-Control-* headers here to avoid conflicts.
|
||||
|
||||
# Replication bootstrap snapshots contain sensitive failover credentials.
|
||||
@replication_bootstrap path /storage/replication-bootstrap.json /storage/replication-bootstrap-*
|
||||
respond @replication_bootstrap 404
|
||||
|
||||
# PHP handling via FastCGI to php-fpm pool
|
||||
php_fastcgi php1:9000 php2:9000 php3:9000 php4:9000 php5:9000
|
||||
|
||||
|
||||
@@ -10,6 +10,10 @@
|
||||
# CORS is handled at the edge by Traefik's headers middleware.
|
||||
# Do not set or strip Access-Control-* headers here to avoid conflicts.
|
||||
|
||||
# Replication bootstrap snapshots contain sensitive failover credentials.
|
||||
@replication_bootstrap path /storage/replication-bootstrap.json /storage/replication-bootstrap-*
|
||||
respond @replication_bootstrap 404
|
||||
|
||||
# PHP handling via FastCGI to php-fpm pool
|
||||
php_fastcgi php-staging:9000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user