Browse Source

fix default server

main
ghost 12 months ago
parent
commit
1c676a6f1a
  1. 5
      nginx/opennet.ru/yggbro/opennet.ru/server.conf
  2. 11
      nginx/texty.org.ua/yggbro/texty.org.ua/server.conf

5
nginx/opennet.ru/yggbro/opennet.ru/server.conf

@ -1,12 +1,15 @@
server { server {
# HTTP/IPv6 connections only # HTTP/IPv6 connections only
listen [::]:80; listen [::]:80 default_server; # make sure default_server not exists or throw an exception
# Yggdrasil connections only # Yggdrasil connections only
allow 0200::/7; allow 0200::/7;
deny all; deny all;
# Listen defaults
server_name _;
# Include handles # Include handles
include /etc/yggbro/nginx/opennet.ru/yggbro/opennet.ru/handles/redirect.conf; include /etc/yggbro/nginx/opennet.ru/yggbro/opennet.ru/handles/redirect.conf;

11
nginx/texty.org.ua/yggbro/texty.org.ua/server.conf

@ -1,11 +1,14 @@
server { server {
# HTTP/IPv6 only # HTTP/IPv6 connections only
listen [::]:80; listen [::]:80 default_server; # make sure default_server not exists or throw an exception
# Yggdrasil only # Yggdrasil connections only
allow 0200::/7; allow 0200::/7;
deny all; deny all;
# Listen defaults
server_name _;
location /yggbro/texty.org.ua { location /yggbro/texty.org.ua {

Loading…
Cancel
Save