{"action":"opened","issue":{"url":"https://api.github.com/repos/rubykube/peatio/issues/1889","repository_url":"https://api.github.com/repos/rubykube/peatio","labels_url":"https://api.github.com/repos/rubykube/peatio/issues/1889/labels{/name}","comments_url":"https://api.github.com/repos/rubykube/peatio/issues/1889/comments","events_url":"https://api.github.com/repos/rubykube/peatio/issues/1889/events","html_url":"https://github.com/rubykube/peatio/issues/1889","id":390683142,"node_id":"MDU6SXNzdWUzOTA2ODMxNDI=","number":1889,"title":"ActionController::RoutingError (No route matches [GET] \"/\"):","user":{"login":"dudetheman","id":45469318,"node_id":"MDQ6VXNlcjQ1NDY5MzE4","avatar_url":"https://avatars3.githubusercontent.com/u/45469318?v=4","gravatar_id":"","url":"https://api.github.com/users/dudetheman","html_url":"https://github.com/dudetheman","followers_url":"https://api.github.com/users/dudetheman/followers","following_url":"https://api.github.com/users/dudetheman/following{/other_user}","gists_url":"https://api.github.com/users/dudetheman/gists{/gist_id}","starred_url":"https://api.github.com/users/dudetheman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dudetheman/subscriptions","organizations_url":"https://api.github.com/users/dudetheman/orgs","repos_url":"https://api.github.com/users/dudetheman/repos","events_url":"https://api.github.com/users/dudetheman/events{/privacy}","received_events_url":"https://api.github.com/users/dudetheman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-13T13:39:42Z","updated_at":"2018-12-13T13:39:42Z","closed_at":null,"author_association":"NONE","body":"_**I am using Peatio 1.8-Stable for Peatio and Trading UI. I cannot figure out for the life of my how to route the UI properly.**_ \r\n\r\n**This is whats in my trading UI config/application.yml for URLs**\r\n\r\n> \r\n> #Set root URL to Peatio platform. It will be used to fetch variables which is trading interface driven by.\r\n> PLATFORM_ROOT_URL: http://ec2-x-x-xxx-xxx.eu-west-2.compute.amazonaws.com:3000\r\n> \r\n>   #Set URL where you wan to redirect from trading ui menubar\r\n> FRONTEND_ROOT_URL: http://ec2-x-x-xxx-xxx.eu-west-2.compute.amazonaws.com:4000\r\n> \r\n\r\n**This is what my /etc/nginx/sites-available/default looks like**\r\n\r\n> # \r\n> #ATTENTION!\r\n> #\r\n> #Make sure to add the next line to /etc/hosts.\r\n> #\r\n> #127.0.0.1 peatio.tech <--- Added this to /etc/hosts with my domain\r\n> #\r\n> \r\n\r\n> server {\r\n>   server_name      ec2-x-x-xxx-xxx.eu-west-2.compute.amazonaws.com;\r\n>   listen           80;\r\n>   proxy_set_header Host redacted-exchange.io;\r\n> \r\n>   location ~ ^/(?:trading|trading-ui-assets)\\/ {\r\n>     proxy_pass http://127.0.0.1:4000;\r\n>   }\r\n> \r\n>   location / {\r\n>     proxy_pass http://127.0.0.1:3000;\r\n>   }\r\n> }\r\n> \r\n\r\n**This is the error I get on terminal, along with \"The page you were looking for doesn't exist.\r\nYou may have mistyped the address or the page may have moved.\" on Chrome. Tried few browsers and cleared cache, no dice.** \r\n\r\n> ActionController::RoutingError (No route matches [GET] \"/\"):  actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:26:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.3) lib/puma/configuration.rb:225:in `call' puma (3.11.3) lib/puma/server.rb:624:in `handle_request' puma (3.11.3) lib/puma/server.rb:438:in `process_client' puma (3.11.3) lib/puma/server.rb:302:in `block in run' puma (3.11.3) lib/puma/thread_pool.rb:120:in `block in spawn_thread'"}}
{"actor":{"display_login":"dudetheman"}}