nginx 配置 域名转发

2019-03-24

10

0

技术:redis + java8

运行环境:IDEA 15.2 + jdk8 + windows 7

demo功能:提供一个redis基础操作封装

配置

server {
    listen       80;
    server_name  from.your.domain;
    access_log  /var/log/nginx/access.log  main;
    rewrite ^/(.*)$ http://other-domain/$1 permanent;

}
 

欢迎添加微信,互相学习↑↑↑ -_-

发表评论

全部评论:0条

白老虎

programming is not only to solve problems, ways to think