diff --git a/3d-editor.conf b/3d-editor.conf index 466f988..dd15c76 100644 --- a/3d-editor.conf +++ b/3d-editor.conf @@ -5,7 +5,7 @@ server { server_name 3d-editor.gamewheel.local 3d-editor-debug.gamewheel.local; root /srv/gamewheel.local/3d-editor; - index index.php; + index index.html; access_log /var/log/nginx/3d-editor.gamewheel.local.access.log; error_log /var/log/nginx/3d-editor.gamewheel.local.error.log; @@ -17,14 +17,14 @@ server { ssl_ciphers "HIGH:!aNULL:!MD5 or HIGH:!aNULL:!MD5:!3DES"; ssl_prefer_server_ciphers on; - location ~ \.php$ { - fastcgi_pass 127.0.0.1:9001; - fastcgi_index index.php; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - fastcgi_param SCRIPT_URL $request_uri; - fastcgi_param SERVER_NAME $http_host; - include fastcgi_params; - } +# location ~ \.php$ { +# fastcgi_pass 127.0.0.1:9001; +# fastcgi_index index.php; +# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; +# fastcgi_param SCRIPT_URL $request_uri; +# fastcgi_param SERVER_NAME $http_host; +# include fastcgi_params; +# } location / { add_header Access-Control-Allow-Origin $http_origin; diff --git a/config.js b/config.js index d1205a4..f7d2201 100644 --- a/config.js +++ b/config.js @@ -47,6 +47,9 @@ var config = { } }, sessionKey: 'iJswK29klj20Jos02mJK8ud9239j23' + }, + environment: { + mode : 'development' } };