feat: update Unifi Network Application configuration and add new reverse proxy settings
This commit is contained in:
@@ -131,4 +131,4 @@
|
||||
- name: unifi-network-application
|
||||
enabled: true
|
||||
hosts:
|
||||
- mennos-cloud-server
|
||||
- mennos-cachyos-desktop
|
||||
|
@@ -100,6 +100,28 @@ home.vleeuwen.me {
|
||||
tls {{ caddy_email }}
|
||||
}
|
||||
|
||||
unifi.mvl.sh {
|
||||
reverse_proxy unifi-controller:8443 {
|
||||
transport http {
|
||||
tls_insecure_skip_verify
|
||||
}
|
||||
header_up Host {host}
|
||||
header_up X-Forwarded-Proto https
|
||||
}
|
||||
}
|
||||
|
||||
hotspot.mvl.sh {
|
||||
reverse_proxy unifi-controller:8843 {
|
||||
transport http {
|
||||
tls_insecure_skip_verify
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
hotspot.mvl.sh:80 {
|
||||
reverse_proxy unifi-controller:8880
|
||||
}
|
||||
|
||||
bin.mvl.sh {
|
||||
import country_block
|
||||
reverse_proxy privatebin:8080
|
||||
|
@@ -3,13 +3,16 @@ services:
|
||||
image: linuxserver/unifi-network-application:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8080:8080" # Device communication
|
||||
- "8443:8443" # Controller GUI / API
|
||||
- "3478:3478/udp" # STUN
|
||||
- "8080:8080" # Device communication
|
||||
- "8443:8443" # Controller GUI / API
|
||||
- "3478:3478/udp" # STUN
|
||||
- "10001:10001/udp" # AP discovery
|
||||
- "8880:8880" # HTTP portal redirect (guest hotspot)
|
||||
- "8843:8843" # HTTPS portal redirect (guest hotspot)
|
||||
- "6789:6789" # Mobile speed test (optional)
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- PGID=100
|
||||
- TZ=Europe/Amsterdam
|
||||
- MONGO_USER=unifi
|
||||
- MONGO_PASS=unifi
|
||||
|
@@ -3,7 +3,7 @@
|
||||
block:
|
||||
- name: Set Unifi Network App directories
|
||||
ansible.builtin.set_fact:
|
||||
unifi_network_application_data_dir: "/mnt/object_storage/services/unifi_network_application"
|
||||
unifi_network_application_data_dir: "/mnt/services/unifi_network_application"
|
||||
unifi_network_application_service_dir: "{{ ansible_env.HOME }}/services/unifi_network_application"
|
||||
|
||||
- name: Create Unifi Network App directories
|
||||
|
Reference in New Issue
Block a user