Quantcast
Channel: Nginx Forum - Nginx Mailing List - Russian
Viewing all articles
Browse latest Browse all 3102

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

$
0
0
Всем доброго дня!

Есть 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 не отдает в туннель страницу?

Viewing all articles
Browse latest Browse all 3102

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>