{"action":"created","issue":{"url":"https://api.github.com/repos/zcx6263/Development-Process/issues/10","repository_url":"https://api.github.com/repos/zcx6263/Development-Process","labels_url":"https://api.github.com/repos/zcx6263/Development-Process/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/zcx6263/Development-Process/issues/10/comments","events_url":"https://api.github.com/repos/zcx6263/Development-Process/issues/10/events","html_url":"https://github.com/zcx6263/Development-Process/issues/10","id":322837630,"node_id":"MDU6SXNzdWUzMjI4Mzc2MzA=","number":10,"title":"세션클러스터링 (톰캣 서버) // Nginx (로드밸런싱)","user":{"login":"zcx6263","id":26623547,"node_id":"MDQ6VXNlcjI2NjIzNTQ3","avatar_url":"https://avatars3.githubusercontent.com/u/26623547?v=4","gravatar_id":"","url":"https://api.github.com/users/zcx6263","html_url":"https://github.com/zcx6263","followers_url":"https://api.github.com/users/zcx6263/followers","following_url":"https://api.github.com/users/zcx6263/following{/other_user}","gists_url":"https://api.github.com/users/zcx6263/gists{/gist_id}","starred_url":"https://api.github.com/users/zcx6263/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zcx6263/subscriptions","organizations_url":"https://api.github.com/users/zcx6263/orgs","repos_url":"https://api.github.com/users/zcx6263/repos","events_url":"https://api.github.com/users/zcx6263/events{/privacy}","received_events_url":"https://api.github.com/users/zcx6263/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-14T14:19:24Z","updated_at":"2018-11-30T14:18:15Z","closed_at":null,"author_association":"OWNER","body":"```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!--\r\n  Licensed to the Apache Software Foundation (ASF) under one or more\r\n  contributor license agreements.  See the NOTICE file distributed with\r\n  this work for additional information regarding copyright ownership.\r\n  The ASF licenses this file to You under the Apache License, Version 2.0\r\n  (the \"License\"); you may not use this file except in compliance with\r\n  the License.  You may obtain a copy of the License at\r\n\r\n      http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n  Unless required by applicable law or agreed to in writing, software\r\n  distributed under the License is distributed on an \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n  See the License for the specific language governing permissions and\r\n  limitations under the License.\r\n--><!-- Note:  A \"Server\" is not itself a \"Container\", so you may not\r\n     define subcomponents such as \"Valves\" at this level.\r\n     Documentation at /docs/config/server.html\r\n --><Server port=\"8005\" shutdown=\"SHUTDOWN\">\r\n  <Listener className=\"org.apache.catalina.startup.VersionLoggerListener\"/>\r\n  <!-- Security listener. Documentation at /docs/config/listeners.html\r\n  <Listener className=\"org.apache.catalina.security.SecurityListener\" />\r\n  -->\r\n  <!--APR library loader. Documentation at /docs/apr.html -->\r\n  <Listener SSLEngine=\"on\" className=\"org.apache.catalina.core.AprLifecycleListener\"/>\r\n  <!-- Prevent memory leaks due to use of particular java/javax APIs-->\r\n  <Listener className=\"org.apache.catalina.core.JreMemoryLeakPreventionListener\"/>\r\n  <Listener className=\"org.apache.catalina.mbeans.GlobalResourcesLifecycleListener\"/>\r\n  <Listener className=\"org.apache.catalina.core.ThreadLocalLeakPreventionListener\"/>\r\n\r\n  <!-- Global JNDI resources\r\n       Documentation at /docs/jndi-resources-howto.html\r\n  -->\r\n  <GlobalNamingResources>\r\n    <!-- Editable user database that can also be used by\r\n         UserDatabaseRealm to authenticate users\r\n    -->\r\n    <Resource auth=\"Container\" description=\"User database that can be updated and saved\" factory=\"org.apache.catalina.users.MemoryUserDatabaseFactory\" name=\"UserDatabase\" pathname=\"conf/tomcat-users.xml\" type=\"org.apache.catalina.UserDatabase\"/>\r\n  </GlobalNamingResources>\r\n\r\n  <!-- A \"Service\" is a collection of one or more \"Connectors\" that share\r\n       a single \"Container\" Note:  A \"Service\" is not itself a \"Container\",\r\n       so you may not define subcomponents such as \"Valves\" at this level.\r\n       Documentation at /docs/config/service.html\r\n   -->\r\n  <Service name=\"Catalina\">\r\n\r\n    <!--The connectors can use a shared executor, you can define one or more named thread pools-->\r\n    <!--\r\n    <Executor name=\"tomcatThreadPool\" namePrefix=\"catalina-exec-\"\r\n        maxThreads=\"150\" minSpareThreads=\"4\"/>\r\n    -->\r\n\r\n\r\n    <!-- A \"Connector\" represents an endpoint by which requests are received\r\n         and responses are returned. Documentation at :\r\n         Java HTTP Connector: /docs/config/http.html\r\n         Java AJP  Connector: /docs/config/ajp.html\r\n         APR (HTTP/AJP) Connector: /docs/apr.html\r\n         Define a non-SSL/TLS HTTP/1.1 Connector on port 8080\r\n    -->\r\n    <Connector connectionTimeout=\"20000\" port=\"8080\" protocol=\"HTTP/1.1\" redirectPort=\"8443\"/>\r\n    <!-- A \"Connector\" using the shared thread pool-->\r\n    <!--\r\n    <Connector executor=\"tomcatThreadPool\"\r\n               port=\"8080\" protocol=\"HTTP/1.1\"\r\n               connectionTimeout=\"20000\"\r\n               redirectPort=\"8443\" />\r\n    -->\r\n    <!-- Define a SSL/TLS HTTP/1.1 Connector on port 8443\r\n         This connector uses the NIO implementation. The default\r\n         SSLImplementation will depend on the presence of the APR/native\r\n         library and the useOpenSSL attribute of the\r\n         AprLifecycleListener.\r\n         Either JSSE or OpenSSL style configuration may be used regardless of\r\n         the SSLImplementation selected. JSSE style configuration is used below.\r\n    -->\r\n    <!--\r\n    <Connector port=\"8443\" protocol=\"org.apache.coyote.http11.Http11NioProtocol\"\r\n               maxThreads=\"150\" SSLEnabled=\"true\">\r\n        <SSLHostConfig>\r\n            <Certificate certificateKeystoreFile=\"conf/localhost-rsa.jks\"\r\n                         type=\"RSA\" />\r\n        </SSLHostConfig>\r\n    </Connector>\r\n    -->\r\n    <!-- Define a SSL/TLS HTTP/1.1 Connector on port 8443 with HTTP/2\r\n         This connector uses the APR/native implementation which always uses\r\n         OpenSSL for TLS.\r\n         Either JSSE or OpenSSL style configuration may be used. OpenSSL style\r\n         configuration is used below.\r\n    -->\r\n    <!--\r\n    <Connector port=\"8443\" protocol=\"org.apache.coyote.http11.Http11AprProtocol\"\r\n               maxThreads=\"150\" SSLEnabled=\"true\" >\r\n        <UpgradeProtocol className=\"org.apache.coyote.http2.Http2Protocol\" />\r\n        <SSLHostConfig>\r\n            <Certificate certificateKeyFile=\"conf/localhost-rsa-key.pem\"\r\n                         certificateFile=\"conf/localhost-rsa-cert.pem\"\r\n                         certificateChainFile=\"conf/localhost-rsa-chain.pem\"\r\n                         type=\"RSA\" />\r\n        </SSLHostConfig>\r\n    </Connector>\r\n    -->\r\n\r\n    <!-- Define an AJP 1.3 Connector on port 8009 -->\r\n    <Connector port=\"8009\" protocol=\"AJP/1.3\" redirectPort=\"8443\"/>\r\n\r\n\r\n    <!-- An Engine represents the entry point (within Catalina) that processes\r\n         every request.  The Engine implementation for Tomcat stand alone\r\n         analyzes the HTTP headers included with the request, and passes them\r\n         on to the appropriate Host (virtual host).\r\n         Documentation at /docs/config/engine.html -->\r\n\r\n    <!-- You should set jvmRoute to support load-balancing via AJP ie :\r\n    <Engine name=\"Catalina\" defaultHost=\"localhost\" jvmRoute=\"jvm1\">\r\n    -->\r\n    <Engine defaultHost=\"localhost\" name=\"Catalina\">\r\n\r\n      <!--For clustering, please take a look at documentation at:\r\n          /docs/cluster-howto.html  (simple how to)\r\n          /docs/config/cluster.html (reference documentation) -->\r\n        \r\n      <Cluster className=\"org.apache.catalina.ha.tcp.SimpleTcpCluster\">\r\n      \t<Manager className=\"org.apache.catalina.ha.session.DeltaManager\" expireSessionsOnShutdown=\"false\" notifyListenersOnReplication=\"true\"/>\r\n\r\n    \t<Channel className=\"org.apache.catalina.tribes.group.GroupChannel\">\r\n        <Membership className=\"org.apache.catalina.tribes.membership.McastService\"\r\n                    address=\"228.0.0.4\"\r\n                    port=\"45564\"\r\n                    frequency=\"500\"\r\n                    dropTime=\"3000\"/>\r\n        <Receiver className=\"org.apache.catalina.tribes.transport.nio.NioReceiver\"\r\n                  address=\"auto\"\r\n                  port=\"4000\"\r\n                  autoBind=\"100\"\r\n                  selectorTimeout=\"5000\"\r\n                  maxThreads=\"6\"/>\r\n\r\n        <Sender className=\"org.apache.catalina.tribes.transport.ReplicationTransmitter\">\r\n            <Transport className=\"org.apache.catalina.tribes.transport.nio.PooledParallelSender\"/>\r\n        </Sender>\r\n        <Interceptor className=\"org.apache.catalina.tribes.group.interceptors.TcpFailureDetector\"/>\r\n        <Interceptor className=\"org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor\"/>\r\n    \t</Channel>\r\n\r\n    \t<Valve className=\"org.apache.catalina.ha.tcp.ReplicationValve\" filter=\"\"/>\r\n    \t<Valve className=\"org.apache.catalina.ha.session.JvmRouteBinderValve\"/>\r\n\r\n    \t<Deployer className=\"org.apache.catalina.ha.deploy.FarmWarDeployer\"\r\n            tempDir=\"/tmp/war-temp/\"\r\n            deployDir=\"/tmp/war-deploy/\"\r\n            watchDir=\"/tmp/war-listen/\"\r\n            watchEnabled=\"false\"/>\r\n\r\n    \t<ClusterListener className=\"org.apache.catalina.ha.session.ClusterSessionListener\"/>\r\n      \t\r\n      </Cluster>\r\n      \r\n\r\n      <!-- Use the LockOutRealm to prevent attempts to guess user passwords\r\n           via a brute-force attack -->\r\n      <Realm className=\"org.apache.catalina.realm.LockOutRealm\">\r\n        <!-- This Realm uses the UserDatabase configured in the global JNDI\r\n             resources under the key \"UserDatabase\".  Any edits\r\n             that are performed against this UserDatabase are immediately\r\n             available for use by the Realm.  -->\r\n        <Realm className=\"org.apache.catalina.realm.UserDatabaseRealm\" resourceName=\"UserDatabase\"/>\r\n      </Realm>\r\n\r\n      <Host appBase=\"webapps\" autoDeploy=\"true\" name=\"localhost\" unpackWARs=\"true\">\r\n\r\n        <!-- SingleSignOn valve, share authentication between web applications\r\n             Documentation at: /docs/config/valve.html -->\r\n        <!--\r\n        <Valve className=\"org.apache.catalina.authenticator.SingleSignOn\" />\r\n        -->\r\n\r\n        <!-- Access log processes all example.\r\n             Documentation at: /docs/config/valve.html\r\n             Note: The pattern used is equivalent to using pattern=\"common\" -->\r\n        <Valve className=\"org.apache.catalina.valves.AccessLogValve\" directory=\"logs\" pattern=\"%h %l %u %t &quot;%r&quot; %s %b\" prefix=\"localhost_access_log\" suffix=\".txt\"/>\r\n\r\n      <Context docBase=\"2018-cap1-4\" path=\"/home\" reloadable=\"true\" source=\"org.eclipse.jst.jee.server:2018-cap1-4\"/></Host>\r\n    </Engine>\r\n  </Service>\r\n</Server>\r\n```\r\n\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!--\r\n  Licensed to the Apache Software Foundation (ASF) under one or more\r\n  contributor license agreements.  See the NOTICE file distributed with\r\n  this work for additional information regarding copyright ownership.\r\n  The ASF licenses this file to You under the Apache License, Version 2.0\r\n  (the \"License\"); you may not use this file except in compliance with\r\n  the License.  You may obtain a copy of the License at\r\n\r\n      http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n  Unless required by applicable law or agreed to in writing, software\r\n  distributed under the License is distributed on an \"AS IS\" BASIS,\r\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n  See the License for the specific language governing permissions and\r\n  limitations under the License.\r\n--><!-- Note:  A \"Server\" is not itself a \"Container\", so you may not\r\n     define subcomponents such as \"Valves\" at this level.\r\n     Documentation at /docs/config/server.html\r\n --><Server port=\"12005\" shutdown=\"SHUTDOWN\">\r\n  <Listener className=\"org.apache.catalina.startup.VersionLoggerListener\"/>\r\n  <!-- Security listener. Documentation at /docs/config/listeners.html\r\n  <Listener className=\"org.apache.catalina.security.SecurityListener\" />\r\n  -->\r\n  <!--APR library loader. Documentation at /docs/apr.html -->\r\n  <Listener SSLEngine=\"on\" className=\"org.apache.catalina.core.AprLifecycleListener\"/>\r\n  <!-- Prevent memory leaks due to use of particular java/javax APIs-->\r\n  <Listener className=\"org.apache.catalina.core.JreMemoryLeakPreventionListener\"/>\r\n  <Listener className=\"org.apache.catalina.mbeans.GlobalResourcesLifecycleListener\"/>\r\n  <Listener className=\"org.apache.catalina.core.ThreadLocalLeakPreventionListener\"/>\r\n\r\n  <!-- Global JNDI resources\r\n       Documentation at /docs/jndi-resources-howto.html\r\n  -->\r\n  <GlobalNamingResources>\r\n    <!-- Editable user database that can also be used by\r\n         UserDatabaseRealm to authenticate users\r\n    -->\r\n    <Resource auth=\"Container\" description=\"User database that can be updated and saved\" factory=\"org.apache.catalina.users.MemoryUserDatabaseFactory\" name=\"UserDatabase\" pathname=\"conf/tomcat-users.xml\" type=\"org.apache.catalina.UserDatabase\"/>\r\n  </GlobalNamingResources>\r\n\r\n  <!-- A \"Service\" is a collection of one or more \"Connectors\" that share\r\n       a single \"Container\" Note:  A \"Service\" is not itself a \"Container\",\r\n       so you may not define subcomponents such as \"Valves\" at this level.\r\n       Documentation at /docs/config/service.html\r\n   -->\r\n  <Service name=\"Catalina\">\r\n\r\n    <!--The connectors can use a shared executor, you can define one or more named thread pools-->\r\n    <!--\r\n    <Executor name=\"tomcatThreadPool\" namePrefix=\"catalina-exec-\"\r\n        maxThreads=\"150\" minSpareThreads=\"4\"/>\r\n    -->\r\n\r\n\r\n    <!-- A \"Connector\" represents an endpoint by which requests are received\r\n         and responses are returned. Documentation at :\r\n         Java HTTP Connector: /docs/config/http.html\r\n         Java AJP  Connector: /docs/config/ajp.html\r\n         APR (HTTP/AJP) Connector: /docs/apr.html\r\n         Define a non-SSL/TLS HTTP/1.1 Connector on port 8080\r\n    -->\r\n    <Connector connectionTimeout=\"20000\" port=\"8088\" protocol=\"HTTP/1.1\" redirectPort=\"8443\"/>\r\n    <!-- A \"Connector\" using the shared thread pool-->\r\n    <!--\r\n    <Connector executor=\"tomcatThreadPool\"\r\n               port=\"8080\" protocol=\"HTTP/1.1\"\r\n               connectionTimeout=\"20000\"\r\n               redirectPort=\"8443\" />\r\n    -->\r\n    <!-- Define a SSL/TLS HTTP/1.1 Connector on port 8443\r\n         This connector uses the NIO implementation. The default\r\n         SSLImplementation will depend on the presence of the APR/native\r\n         library and the useOpenSSL attribute of the\r\n         AprLifecycleListener.\r\n         Either JSSE or OpenSSL style configuration may be used regardless of\r\n         the SSLImplementation selected. JSSE style configuration is used below.\r\n    -->\r\n    <!--\r\n    <Connector port=\"8443\" protocol=\"org.apache.coyote.http11.Http11NioProtocol\"\r\n               maxThreads=\"150\" SSLEnabled=\"true\">\r\n        <SSLHostConfig>\r\n            <Certificate certificateKeystoreFile=\"conf/localhost-rsa.jks\"\r\n                         type=\"RSA\" />\r\n        </SSLHostConfig>\r\n    </Connector>\r\n    -->\r\n    <!-- Define a SSL/TLS HTTP/1.1 Connector on port 8443 with HTTP/2\r\n         This connector uses the APR/native implementation which always uses\r\n         OpenSSL for TLS.\r\n         Either JSSE or OpenSSL style configuration may be used. OpenSSL style\r\n         configuration is used below.\r\n    -->\r\n    <!--\r\n    <Connector port=\"8443\" protocol=\"org.apache.coyote.http11.Http11AprProtocol\"\r\n               maxThreads=\"150\" SSLEnabled=\"true\" >\r\n        <UpgradeProtocol className=\"org.apache.coyote.http2.Http2Protocol\" />\r\n        <SSLHostConfig>\r\n            <Certificate certificateKeyFile=\"conf/localhost-rsa-key.pem\"\r\n                         certificateFile=\"conf/localhost-rsa-cert.pem\"\r\n                         certificateChainFile=\"conf/localhost-rsa-chain.pem\"\r\n                         type=\"RSA\" />\r\n        </SSLHostConfig>\r\n    </Connector>\r\n    -->\r\n\r\n    <!-- Define an AJP 1.3 Connector on port 8009 -->\r\n    <Connector port=\"12009\" protocol=\"AJP/1.3\" redirectPort=\"8443\"/>\r\n\r\n\r\n    <!-- An Engine represents the entry point (within Catalina) that processes\r\n         every request.  The Engine implementation for Tomcat stand alone\r\n         analyzes the HTTP headers included with the request, and passes them\r\n         on to the appropriate Host (virtual host).\r\n         Documentation at /docs/config/engine.html -->\r\n\r\n    <!-- You should set jvmRoute to support load-balancing via AJP ie :\r\n    <Engine name=\"Catalina\" defaultHost=\"localhost\" jvmRoute=\"jvm1\">\r\n    -->\r\n    <Engine defaultHost=\"localhost\" name=\"Catalina\">\r\n\r\n      <!--For clustering, please take a look at documentation at:\r\n          /docs/cluster-howto.html  (simple how to)\r\n          /docs/config/cluster.html (reference documentation) -->\r\n      \r\n       \r\n      <Cluster className=\"org.apache.catalina.ha.tcp.SimpleTcpCluster\">\r\n      \t<Manager className=\"org.apache.catalina.ha.session.DeltaManager\" expireSessionsOnShutdown=\"false\" notifyListenersOnReplication=\"true\"/>\r\n\r\n    \t<Channel className=\"org.apache.catalina.tribes.group.GroupChannel\">\r\n        <Membership className=\"org.apache.catalina.tribes.membership.McastService\"\r\n                    address=\"228.0.0.4\"\r\n                    port=\"45564\"\r\n                    frequency=\"500\"\r\n                    dropTime=\"3000\"/>\r\n        <Receiver className=\"org.apache.catalina.tribes.transport.nio.NioReceiver\"\r\n                  address=\"auto\"\r\n                  port=\"4001\"\r\n                  autoBind=\"100\"\r\n                  selectorTimeout=\"5000\"\r\n                  maxThreads=\"6\"/>\r\n\r\n        <Sender className=\"org.apache.catalina.tribes.transport.ReplicationTransmitter\">\r\n            <Transport className=\"org.apache.catalina.tribes.transport.nio.PooledParallelSender\"/>\r\n        </Sender>\r\n        <Interceptor className=\"org.apache.catalina.tribes.group.interceptors.TcpFailureDetector\"/>\r\n        <Interceptor className=\"org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor\"/>\r\n    \t</Channel>\r\n\r\n    \t<Valve className=\"org.apache.catalina.ha.tcp.ReplicationValve\" filter=\"\"/>\r\n    \t<Valve className=\"org.apache.catalina.ha.session.JvmRouteBinderValve\"/>\r\n\r\n    \t<Deployer className=\"org.apache.catalina.ha.deploy.FarmWarDeployer\"\r\n            tempDir=\"/tmp/war-temp/\"\r\n            deployDir=\"/tmp/war-deploy/\"\r\n            watchDir=\"/tmp/war-listen/\"\r\n            watchEnabled=\"false\"/>\r\n\r\n    \t<ClusterListener className=\"org.apache.catalina.ha.session.ClusterSessionListener\"/>\r\n      \t\r\n      </Cluster>\r\n      \r\n\r\n      <!-- Use the LockOutRealm to prevent attempts to guess user passwords\r\n           via a brute-force attack -->\r\n      <Realm className=\"org.apache.catalina.realm.LockOutRealm\">\r\n        <!-- This Realm uses the UserDatabase configured in the global JNDI\r\n             resources under the key \"UserDatabase\".  Any edits\r\n             that are performed against this UserDatabase are immediately\r\n             available for use by the Realm.  -->\r\n        <Realm className=\"org.apache.catalina.realm.UserDatabaseRealm\" resourceName=\"UserDatabase\"/>\r\n      </Realm>\r\n\r\n      <Host appBase=\"webapps\" autoDeploy=\"true\" name=\"localhost\" unpackWARs=\"true\">\r\n\r\n        <!-- SingleSignOn valve, share authentication between web applications\r\n             Documentation at: /docs/config/valve.html -->\r\n        <!--\r\n        <Valve className=\"org.apache.catalina.authenticator.SingleSignOn\" />\r\n        -->\r\n\r\n        <!-- Access log processes all example.\r\n             Documentation at: /docs/config/valve.html\r\n             Note: The pattern used is equivalent to using pattern=\"common\" -->\r\n        <Valve className=\"org.apache.catalina.valves.AccessLogValve\" directory=\"logs\" pattern=\"%h %l %u %t &quot;%r&quot; %s %b\" prefix=\"localhost_access_log\" suffix=\".txt\"/>\r\n\r\n      <Context docBase=\"2018-cap1-4\" path=\"/home\" reloadable=\"true\" source=\"org.eclipse.jst.jee.server:2018-cap1-4\"/></Host>\r\n    </Engine>\r\n  </Service>\r\n</Server>\r\n```\r\n\r\n```\r\n<!-- web.xml WAS Session Clustering -->\r\n\t<distributable/>\r\n```\r\n\r\n\r\n```\r\n#user  nobody;\r\nworker_processes  1;\r\n\r\n#error_log  logs/error.log;\r\n#error_log  logs/error.log  notice;\r\n#error_log  logs/error.log  info;\r\n\r\n#pid        logs/nginx.pid;\r\n\r\n\r\nevents {\r\n    worker_connections  1024;\r\n}\r\n\r\n\r\nhttp {\r\n    include       mime.types;\r\n    default_type  application/octet-stream;\r\n\r\n    #log_format  main  '$remote_addr - $remote_user [$time_local] \"$request\" '\r\n    #                  '$status $body_bytes_sent \"$http_referer\" '\r\n    #                  '\"$http_user_agent\" \"$http_x_forwarded_for\"';\r\n\r\n    #access_log  logs/access.log  main;\r\n\r\n    sendfile        on;\r\n    #tcp_nopush     on;\r\n\r\n    #keepalive_timeout  0;\r\n    keepalive_timeout  65;\r\n\r\n    #gzip  on;\r\n    \r\n    upstream balancer {\r\n        least_conn;\r\n        server localhost:8080;\r\n        server localhost:8088;\r\n    }\r\n    \r\n    server {\r\n        listen       80;\r\n        server_name  localhost;\r\n\r\n        #charset koi8-r;\r\n\r\n        #access_log  logs/host.access.log main;\r\n        \r\n        location /home {\r\n            proxy_pass              http://balancer;\r\n            proxy_set_header        X-Real-IP $remote_addr;\r\n            proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;\r\n            proxy_set_header        Host $http_host;\r\n        }\r\n\r\n        \r\n        #error_page  404              /404.html;\r\n\r\n        # redirect server error pages to the static page /50x.html\r\n        #\r\n        error_page   500 502 503 504  /50x.html;\r\n        location = /50x.html {\r\n            root   html;\r\n        }\r\n\r\n        # proxy the PHP scripts to Apache listening on 127.0.0.1:80\r\n        #\r\n        #location ~ \\.php$ {\r\n        #    proxy_pass   http://127.0.0.1;\r\n        #}\r\n\r\n        # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000\r\n        #\r\n        #location ~ \\.php$ {\r\n        #    root           html;\r\n        #    fastcgi_pass   127.0.0.1:9000;\r\n        #    fastcgi_index  index.php;\r\n        #    fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;\r\n        #    include        fastcgi_params;\r\n        #}\r\n\r\n        # deny access to .htaccess files, if Apache's document root\r\n        # concurs with nginx's one\r\n        #\r\n        #location ~ /\\.ht {\r\n        #    deny  all;\r\n        #}\r\n    }\r\n\r\n\r\n    # another virtual host using mix of IP-, name-, and port-based configuration\r\n    #\r\n    #server {\r\n    #    listen       8000;\r\n    #    listen       somename:8080;\r\n    #    server_name  somename  alias  another.alias;\r\n\r\n    #    location / {\r\n    #        root   html;\r\n    #        index  index.html index.htm;\r\n    #    }\r\n    #}\r\n\r\n\r\n    # HTTPS server\r\n    #\r\n    #server {\r\n    #    listen       443 ssl;\r\n    #    server_name  localhost;\r\n\r\n    #    ssl_certificate      cert.pem;\r\n    #    ssl_certificate_key  cert.key;\r\n\r\n    #    ssl_session_cache    shared:SSL:1m;\r\n    #    ssl_session_timeout  5m;\r\n\r\n    #    ssl_ciphers  HIGH:!aNULL:!MD5;\r\n    #    ssl_prefer_server_ciphers  on;\r\n\r\n    #    location / {\r\n    #        root   html;\r\n    #        index  index.html index.htm;\r\n    #    }\r\n    #}\r\n\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/zcx6263/Development-Process/issues/comments/443216634","html_url":"https://github.com/zcx6263/Development-Process/issues/10#issuecomment-443216634","issue_url":"https://api.github.com/repos/zcx6263/Development-Process/issues/10","id":443216634,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzIxNjYzNA==","user":{"login":"zcx6263","id":26623547,"node_id":"MDQ6VXNlcjI2NjIzNTQ3","avatar_url":"https://avatars3.githubusercontent.com/u/26623547?v=4","gravatar_id":"","url":"https://api.github.com/users/zcx6263","html_url":"https://github.com/zcx6263","followers_url":"https://api.github.com/users/zcx6263/followers","following_url":"https://api.github.com/users/zcx6263/following{/other_user}","gists_url":"https://api.github.com/users/zcx6263/gists{/gist_id}","starred_url":"https://api.github.com/users/zcx6263/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zcx6263/subscriptions","organizations_url":"https://api.github.com/users/zcx6263/orgs","repos_url":"https://api.github.com/users/zcx6263/repos","events_url":"https://api.github.com/users/zcx6263/events{/privacy}","received_events_url":"https://api.github.com/users/zcx6263/received_events","type":"User","site_admin":false},"created_at":"2018-11-30T14:18:15Z","updated_at":"2018-11-30T14:18:15Z","author_association":"OWNER","body":"![default](https://user-images.githubusercontent.com/26623547/49294402-313ccb00-f4f6-11e8-9b79-33bd42805a00.jpeg)\r\n"}}
{"actor":{"display_login":"zcx6263"}}