美文网首页
nginx的学习配置

nginx的学习配置

作者: Gopal | 来源:发表于2018-02-23 11:41 被阅读7次
         server {
            listen       8088;
            server_name  localhost;
    
            #charset koi8-r;
    
            #access_log  logs/host.access.log  main;
            
            location /mx-backend {
                proxy_set_header Host $host;
                proxy_set_header HTTPS $https;
                proxy_set_header SERVER_PORT $server_port;
                proxy_pass   http://127.0.0.1:8800;
                break;
            }
    
            location /mx-manager/ {
                root D:\frontend-platform\h5-res-mx-document-system-management-frontend;
                index  index.html
                break;
            }
    
            location /mx-doc/ {
                root D:\frontend-platform\h5-res-mx-document-system-visitor-frontend;
                index  index.html
                break;
            }
    
            location /mx-exercise/ {
                root D:\frontend-platform\h5-res-mx-practice-system;
                index  index.html
                break;
            }
    
            location /mx-training/ {
                root D:\frontend-platform\mx-training-system-client;
                index  index.html
                break;
            }
    
            location /mx-login/ {
                root D:\frontend-platform\login-project;
                index  index.html
                break;
            }
    

    相关文章

      网友评论

          本文标题:nginx的学习配置

          本文链接:https://www.haomeiwen.com/subject/mwkpaxtx.html