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
|
- name: unifi-network-application
|
||||||
enabled: true
|
enabled: true
|
||||||
hosts:
|
hosts:
|
||||||
- mennos-cloud-server
|
- mennos-cachyos-desktop
|
||||||
|
@@ -100,6 +100,28 @@ home.vleeuwen.me {
|
|||||||
tls {{ caddy_email }}
|
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 {
|
bin.mvl.sh {
|
||||||
import country_block
|
import country_block
|
||||||
reverse_proxy privatebin:8080
|
reverse_proxy privatebin:8080
|
||||||
|
@@ -3,13 +3,16 @@ services:
|
|||||||
image: linuxserver/unifi-network-application:latest
|
image: linuxserver/unifi-network-application:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080" # Device communication
|
- "8080:8080" # Device communication
|
||||||
- "8443:8443" # Controller GUI / API
|
- "8443:8443" # Controller GUI / API
|
||||||
- "3478:3478/udp" # STUN
|
- "3478:3478/udp" # STUN
|
||||||
- "10001:10001/udp" # AP discovery
|
- "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:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=100
|
||||||
- TZ=Europe/Amsterdam
|
- TZ=Europe/Amsterdam
|
||||||
- MONGO_USER=unifi
|
- MONGO_USER=unifi
|
||||||
- MONGO_PASS=unifi
|
- MONGO_PASS=unifi
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
block:
|
block:
|
||||||
- name: Set Unifi Network App directories
|
- name: Set Unifi Network App directories
|
||||||
ansible.builtin.set_fact:
|
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"
|
unifi_network_application_service_dir: "{{ ansible_env.HOME }}/services/unifi_network_application"
|
||||||
|
|
||||||
- name: Create Unifi Network App directories
|
- name: Create Unifi Network App directories
|
||||||
|
Reference in New Issue
Block a user