Compare commits

...

2 Commits

Author SHA1 Message Date
478561a448
feat(nginx): add local authorisation rules
This prevents devices with a source IP address outside of the allowed IP
addresses from connecting to the target location. This is useful for
internal-only locations, in case people make an attempt to directly
connect by modifying their `/etc/hosts` file or custom DNS to bypass the
lack of internal domains on public DNS.
2025-07-02 22:28:14 +00:00
021658d9e9
rebase(nginx): file "youtube-local" "0.1.0" > "1.0.0" 2025-07-02 22:26:15 +00:00

View File

@ -1,6 +1,6 @@
# Inferencium - xb-00-01 # Inferencium - xb-00-01
# Nginx - Configuration - youtube-local # Nginx - Configuration - youtube-local
# Version: 0.1.0 # Version: 1.1.0-alpha.1
# Copyright 2025 Jake Winters # Copyright 2025 Jake Winters
# SPDX-License-Identifier: BSD-3-Clause # SPDX-License-Identifier: BSD-3-Clause
@ -36,6 +36,9 @@ server {
# Location # Location
location / { location / {
proxy_pass http://localhost:8080; proxy_pass http://localhost:8080;
allow 10.0.0.30;
allow 10.0.0.40;
deny all;
} }
# Security # Security