Welcome! Log In Create A New Profile

Advanced

nginx не отвечает на запросы из VPN туннеля

May 01, 2017 10:21AM
Всем доброго дня!

Есть VPN сервер и VPN клиент. Туннель между ними успешно поднимается, пинги ходят как по IP так и по DNS.

Конфиг NGINX:

server {
listen 80;
server_name xxx-xxx.me;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

location ~ \.php$ {
proxy_pass http://xxx-xxx:8008;
}
location / {
proxy_pass http://xxx-xxx:8008;
index find.php;
}
}

На сервере работает IIS.

Если захожу по адресу http://xxx-xxx:8008 - все открывается
Если захожу по адресу http://xxx-xxx - ничего не открывается.

Почему nginx не отдает в туннель страницу?
Subject Author Posted

nginx не отвечает на запросы из VPN туннеля

AlexSYSka May 01, 2017 10:21AM

Re: nginx не отвечает на запросы из VPN туннеля

AlexSYSka May 01, 2017 12:53PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 271
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready