from django.urls import re_path
from django.views.static import serve
from django.conf import settings
urlpatterns = [
...
re_path(
r"^api/static/(?P<path>.*)$",
serve,
kwargs=dict(document_root=settings.STATIC_ROOT),
)
]
/ip ipsec mode-config
add address-pool=pool1 name=cfg1 split-include=192.168.63.0/24
/ip pool
add name=pool1 ranges=192.168.63.1-192.168.63.10
/ip address
add address=192.168.63.254/24 interface=bridge1 network=192.168.63.0
/ip ipsec identity
add generate-policy=port-strict mode-config=cfg1 peer=peer1 secret=123
/ip ipsec peer
add exchange-mode=ike2 name=peer1 passive=yes
Unicast traffic between Wireless clients with client-to-client forwarding enabled will not be visible to the Torch tool. Packets that are processed with hardware offloading enabled bridge will also not be visible (unknown unicast, broadcast and some multicast traffic will be visible to torch tool).
/ip ipsec policy add action=none dst-address=10.20.50.0/24 src-address=10.20.50.0/24 place-before=0
/ip firewall nat add action=accept chain=srcnat ipsec-policy=out,ipsec place-before=0
Вроде они вывели в прод
services:
...
aero-core-db:
image: mysql:5.7
restart: always
env_file:
- database.env
ports:
- "127.0.0.1:33015:3306"
expose:
- "3306"
'development' => [
'adapter' => 'mysql',
'host' => 'localhost',
'name' => 'aero_core',
'user' => 'aero_core_default',
'pass' => '7!kw58$14vaWgk',
'port' => '33015',
'charset' => 'utf8',
]