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 @@ |
|||||||
# Prevent out redirects (solution for issue #2) |
# Prevent out redirects (solution for issue #2) |
||||||
|
|
||||||
location @opennet_locations_handle_redirect { |
location @yggbro_nginx_opennet_handles_redirect { |
||||||
|
|
||||||
set $original_uri $uri; |
set $original_uri $uri; |
||||||
set $orig_loc $upstream_http_location; |
set $orig_loc $upstream_http_location; |
@ -1,41 +1,38 @@ |
|||||||
# www-less |
# www-less |
||||||
include /etc/nginx/opennet/locations/www-less.conf; |
include /etc/yggbro/nginx/opennet/locations/www-less.conf; |
||||||
|
|
||||||
# www |
# www |
||||||
include /etc/nginx/opennet/locations/www.conf; |
include /etc/yggbro/nginx/opennet/locations/www.conf; |
||||||
|
|
||||||
# bsd |
# bsd |
||||||
include /etc/nginx/opennet/locations/bsd.conf; |
include /etc/yggbro/nginx/opennet/locations/bsd.conf; |
||||||
|
|
||||||
# cisco |
# cisco |
||||||
include /etc/nginx/opennet/locations/cisco.conf; |
include /etc/yggbro/nginx/opennet/locations/cisco.conf; |
||||||
|
|
||||||
# grab |
# grab |
||||||
include /etc/nginx/opennet/locations/grab.conf; |
include /etc/yggbro/nginx/opennet/locations/grab.conf; |
||||||
|
|
||||||
# linux |
# linux |
||||||
include /etc/nginx/opennet/locations/linux.conf; |
include /etc/yggbro/nginx/opennet/locations/linux.conf; |
||||||
|
|
||||||
# m |
# m |
||||||
include /etc/nginx/opennet/locations/m.conf; |
include /etc/yggbro/nginx/opennet/locations/m.conf; |
||||||
|
|
||||||
# mobile |
# mobile |
||||||
include /etc/nginx/opennet/locations/mobile.conf; |
include /etc/yggbro/nginx/opennet/locations/mobile.conf; |
||||||
|
|
||||||
# palm |
# palm |
||||||
include /etc/nginx/opennet/locations/palm.conf; |
include /etc/yggbro/nginx/opennet/locations/palm.conf; |
||||||
|
|
||||||
# security |
# security |
||||||
include /etc/nginx/opennet/locations/security.conf; |
include /etc/yggbro/nginx/opennet/locations/security.conf; |
||||||
|
|
||||||
# solaris |
# solaris |
||||||
include /etc/nginx/opennet/locations/solaris.conf; |
include /etc/yggbro/nginx/opennet/locations/solaris.conf; |
||||||
|
|
||||||
# web |
# web |
||||||
include /etc/nginx/opennet/locations/web.conf; |
include /etc/yggbro/nginx/opennet/locations/web.conf; |
||||||
|
|
||||||
# wiki |
# wiki |
||||||
include /etc/nginx/opennet/locations/wiki.conf; |
include /etc/yggbro/nginx/opennet/locations/wiki.conf; |
||||||
|
|
||||||
# handles (do not delete) |
|
||||||
include /etc/nginx/opennet/locations/handle/redirect.conf; |
|
@ -1,12 +1,15 @@ |
|||||||
server { |
server { |
||||||
|
|
||||||
# HTTP/IPv6 connections only |
# HTTP/IPv6 connections only |
||||||
# listen [::]:80 ipv6only=on _; |
listen [::]:80; |
||||||
|
|
||||||
# Yggdrasil connections only |
# Yggdrasil connections only |
||||||
# allow 0200::/7; |
allow 0200::/7; |
||||||
# deny all; |
deny all; |
||||||
|
|
||||||
|
# Include handles |
||||||
|
include /etc/yggbro/nginx/opennet/handles/redirect.conf; |
||||||
|
|
||||||
# Include available locations |
# Include available locations |
||||||
include /etc/nginx/opennet/locations.conf; |
include /etc/yggbro/nginx/opennet/locations.conf; |
||||||
} |
} |
Loading…
Reference in new issue