server {
listen 82 default_server;
listen [::]:82 default_server;
root /var/www/test/trie/demo/;
# Add index.php to the list if you are using PHP
location / {
proxy_pass http://127.0.0.1:8082;
}
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
location ~ /\.ht {
deny all;
}
}
nginx 监听端口转发
最新推荐文章于 2024-04-18 04:14:21 发布