Maxim Sokhatsky 11 years ago
parent
commit
1b6bd36ae2
2 changed files with 2 additions and 2 deletions
  1. 1 1
      apps/face/src/web_sup.erl
  2. 1 1
      rels/web/files/sys.config

+ 1 - 1
apps/face/src/web_sup.erl

@@ -20,7 +20,7 @@ init([]) ->
     PrivDir = code:priv_dir(face),
 
     {ok, _} = cowboy:start_https(https, 100, [
-        {port, 8443},
+        {port, wf:config(n2o,port,8443)},
         {cacertfile, PrivDir ++ "/ssl/cowboy-ca.crt"},
         {certfile, PrivDir ++ "/ssl/server.crt"},
         {keyfile, PrivDir ++ "/ssl/server.key"} ], [{env, [{dispatch, dispatch_rules()}]}]),

+ 1 - 1
rels/web/files/sys.config

@@ -1,7 +1,7 @@
 [
  {sync, [{sync_mode, nitrogen}]},
  {nsx_idgen, [{game_pool,5000000}]},
- {n2o, [{route,routes},{transition_port, 8000}]},
+ {n2o, [{route,routes},{port,8443},{transition_port,8000}]},
  {kvs,
      [{pass_init_db,true},
       {nodes,[]},