mirror of
https://gitlab.com/tildes/tildes.git
synced 2026-04-16 06:18:34 +02:00
Fix the Pyramid debug toolbar not being accessible in the Docker-based Vagrant environment.
Closes tildes-community/tildes-cf#8 See merge request tildes-community/tildes-cf!3
This commit is contained in:
@@ -19,7 +19,9 @@ redis.unix_socket_path = /run/redis/socket
|
||||
# Requests from the host machine through Vagrant will have their IP as
|
||||
# 10.0.2.2 (which is an alias for the loopback interface) so we need
|
||||
# to enable the debugtoolbar for that IP as well.
|
||||
debugtoolbar.hosts = 127.0.0.1 ::1 10.0.2.2
|
||||
# 172.17.0.0/16 is the range of IPs that Docker uses internally so we'll need
|
||||
# those as well for the Vagrant Docker provider.
|
||||
debugtoolbar.hosts = 127.0.0.1 ::1 10.0.2.2 172.17.0.0/16
|
||||
|
||||
# Exclude the metrics page from the debug toolbar, since Prometheus scrapes
|
||||
# it constantly and we don't need to see that in the list of requests
|
||||
|
||||
Reference in New Issue
Block a user