Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dashboard.subdomain.conf.sample #976

Open
wants to merge 1 commit into
base: swag-dashboard
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 8 additions & 16 deletions root/dashboard/dashboard.subdomain.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,8 @@ server {
# enable for Authentik (requires authentik-server.conf in the server block)
#include /config/nginx/authentik-location.conf;

allow 10.0.0.0/8;
allow 172.16.0.0/12;
allow 192.168.0.0/16;
deny all;
# Only permit access from internal IP Addresses
include /config/nginx/internal.conf

try_files $uri $uri/ /index.php$is_args$args =404;
}
Expand All @@ -56,10 +54,8 @@ server {
# enable for Authentik (requires authentik-server.conf in the server block)
#include /config/nginx/authentik-location.conf;

allow 10.0.0.0/8;
allow 172.16.0.0/12;
allow 192.168.0.0/16;
deny all;
# Only permit access from internal IP Addresses
include /config/nginx/internal.conf

fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_pass 127.0.0.1:9000;
Expand Down Expand Up @@ -104,10 +100,8 @@ server {
# enable for Authentik (requires authentik-server.conf in the server block)
#include /config/nginx/authentik-location.conf;

allow 10.0.0.0/8;
allow 172.16.0.0/12;
allow 192.168.0.0/16;
deny all;
# Only permit access from internal IP Addresses
include /config/nginx/internal.conf

try_files $uri $uri/ /index.php$is_args$args =404;
}
Expand All @@ -126,10 +120,8 @@ server {
# enable for Authentik (requires authentik-server.conf in the server block)
#include /config/nginx/authentik-location.conf;

allow 10.0.0.0/8;
allow 172.16.0.0/12;
allow 192.168.0.0/16;
deny all;
# Only permit access from internal IP Addresses
include /config/nginx/internal.conf

fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_pass 127.0.0.1:9000;
Expand Down
Loading