76 lines
1.6 KiB
Text
76 lines
1.6 KiB
Text
# CLEARNET
|
|
server {
|
|
server_name
|
|
4get.nadeko.net
|
|
nadekonw7plitnjuawu6ytjsl7jlglk2t6pyq6eftptmiv3dvqndwvyd.onion;
|
|
include configs/listen.conf;
|
|
include configs/general.conf;
|
|
include configs/robotsNone.conf;
|
|
include configs/security.conf;
|
|
|
|
location @upstream {
|
|
proxy_pass http://127.0.0.1:10031;
|
|
proxy_intercept_errors on;
|
|
include configs/proxy.conf;
|
|
}
|
|
|
|
location / {
|
|
try_files $uri @upstream;
|
|
}
|
|
|
|
# location /web {
|
|
# try_files $uri @upstream;
|
|
#
|
|
# if ($server_protocol ~* "HTTP/1.1") {
|
|
# return 444;
|
|
# }
|
|
#
|
|
# include snippets/torblacklist.conf;
|
|
# error_page 403 =302 /torisblocked;
|
|
# error_page 429 =302 /rl;
|
|
# }
|
|
#
|
|
# location /torisblocked {
|
|
# alias errors/$request_uri.txt;
|
|
# }
|
|
#
|
|
# location /rl {
|
|
# alias errors/$request_uri.txt;
|
|
# }
|
|
#
|
|
# location /data {
|
|
# return 444;
|
|
# }
|
|
|
|
# Tor Header
|
|
add_header Onion-Location http://4get.zzlsghu6mvvwyy75mvga6gaf4znbp3erk5xwfzedb4gg6qqh2j6rlvid.onion$request_uri;
|
|
|
|
# QUIC
|
|
# include configs/http3.conf;
|
|
|
|
|
|
}
|
|
|
|
# TOR
|
|
# server {
|
|
# listen 10040;
|
|
# server_name 4get.zzlsghu6mvvwyy75mvga6gaf4znbp3erk5xwfzedb4gg6qqh2j6rlvid.onion 4get.nadekonw7plitnjuawu6ytjsl7jlglk2t6pyq6eftptmiv3dvqndwvyd.onion;
|
|
# include configs/listen.conf;
|
|
# root /var/www/4get-zzls;
|
|
#
|
|
# location @upstream {
|
|
# try_files $uri.php $uri/index.php =404;
|
|
# fastcgi_pass php-fpm-8.1;
|
|
# fastcgi_index index.php;
|
|
# include fastcgi.conf;
|
|
# fastcgi_intercept_errors on;
|
|
# }
|
|
#
|
|
# location / {
|
|
# try_files $uri @upstream;
|
|
# }
|
|
#
|
|
# location ~* ^(.*)\.php$ {
|
|
# return 301 $1;
|
|
# }
|
|
# }
|