mirror of
https://github.com/YGGverse/YGGbro.git
synced 2025-02-07 04:24:25 +00:00
fix default server
This commit is contained in:
parent
87b58c93e3
commit
1c676a6f1a
@ -1,12 +1,15 @@
|
||||
server {
|
||||
|
||||
# HTTP/IPv6 connections only
|
||||
listen [::]:80;
|
||||
listen [::]:80 default_server; # make sure default_server not exists or throw an exception
|
||||
|
||||
# Yggdrasil connections only
|
||||
allow 0200::/7;
|
||||
deny all;
|
||||
|
||||
# Listen defaults
|
||||
server_name _;
|
||||
|
||||
# Include handles
|
||||
include /etc/yggbro/nginx/opennet.ru/yggbro/opennet.ru/handles/redirect.conf;
|
||||
|
||||
|
@ -1,11 +1,14 @@
|
||||
server {
|
||||
|
||||
# HTTP/IPv6 only
|
||||
listen [::]:80;
|
||||
# HTTP/IPv6 connections only
|
||||
listen [::]:80 default_server; # make sure default_server not exists or throw an exception
|
||||
|
||||
# Yggdrasil only
|
||||
# Yggdrasil connections only
|
||||
allow 0200::/7;
|
||||
deny all;
|
||||
deny all;
|
||||
|
||||
# Listen defaults
|
||||
server_name _;
|
||||
|
||||
location /yggbro/texty.org.ua {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user