mirror of https://github.com/YGGverse/YGGbro.git
ghost
12 months ago
18 changed files with 46 additions and 40 deletions
@ -1,6 +1,6 @@
@@ -1,6 +1,6 @@
|
||||
# Prevent out redirects (solution for issue #2) |
||||
|
||||
location @opennet_locations_handle_redirect { |
||||
location @yggbro_nginx_opennet_handles_redirect { |
||||
|
||||
set $original_uri $uri; |
||||
set $orig_loc $upstream_http_location; |
@ -1,41 +1,38 @@
@@ -1,41 +1,38 @@
|
||||
# www-less |
||||
include /etc/nginx/opennet/locations/www-less.conf; |
||||
include /etc/yggbro/nginx/opennet/locations/www-less.conf; |
||||
|
||||
# www |
||||
include /etc/nginx/opennet/locations/www.conf; |
||||
include /etc/yggbro/nginx/opennet/locations/www.conf; |
||||
|
||||
# bsd |
||||
include /etc/nginx/opennet/locations/bsd.conf; |
||||
include /etc/yggbro/nginx/opennet/locations/bsd.conf; |
||||
|
||||
# cisco |
||||
include /etc/nginx/opennet/locations/cisco.conf; |
||||
include /etc/yggbro/nginx/opennet/locations/cisco.conf; |
||||
|
||||
# grab |
||||
include /etc/nginx/opennet/locations/grab.conf; |
||||
include /etc/yggbro/nginx/opennet/locations/grab.conf; |
||||
|
||||
# linux |
||||
include /etc/nginx/opennet/locations/linux.conf; |
||||
include /etc/yggbro/nginx/opennet/locations/linux.conf; |
||||
|
||||
# m |
||||
include /etc/nginx/opennet/locations/m.conf; |
||||
include /etc/yggbro/nginx/opennet/locations/m.conf; |
||||
|
||||
# mobile |
||||
include /etc/nginx/opennet/locations/mobile.conf; |
||||
include /etc/yggbro/nginx/opennet/locations/mobile.conf; |
||||
|
||||
# palm |
||||
include /etc/nginx/opennet/locations/palm.conf; |
||||
include /etc/yggbro/nginx/opennet/locations/palm.conf; |
||||
|
||||
# security |
||||
include /etc/nginx/opennet/locations/security.conf; |
||||
include /etc/yggbro/nginx/opennet/locations/security.conf; |
||||
|
||||
# solaris |
||||
include /etc/nginx/opennet/locations/solaris.conf; |
||||
include /etc/yggbro/nginx/opennet/locations/solaris.conf; |
||||
|
||||
# web |
||||
include /etc/nginx/opennet/locations/web.conf; |
||||
include /etc/yggbro/nginx/opennet/locations/web.conf; |
||||
|
||||
# wiki |
||||
include /etc/nginx/opennet/locations/wiki.conf; |
||||
|
||||
# handles (do not delete) |
||||
include /etc/nginx/opennet/locations/handle/redirect.conf; |
||||
include /etc/yggbro/nginx/opennet/locations/wiki.conf; |
@ -1,12 +1,15 @@
@@ -1,12 +1,15 @@
|
||||
server { |
||||
|
||||
# HTTP/IPv6 connections only |
||||
# listen [::]:80 ipv6only=on _; |
||||
listen [::]:80; |
||||
|
||||
# Yggdrasil connections only |
||||
# allow 0200::/7; |
||||
# deny all; |
||||
allow 0200::/7; |
||||
deny all; |
||||
|
||||
# Include handles |
||||
include /etc/yggbro/nginx/opennet/handles/redirect.conf; |
||||
|
||||
# Include available locations |
||||
include /etc/nginx/opennet/locations.conf; |
||||
include /etc/yggbro/nginx/opennet/locations.conf; |
||||
} |
Loading…
Reference in new issue