revert - will create a build system based on environment

beta.r3js.org
Theunis J. Botha 2016-10-24 15:58:07 +02:00
parent e544b6c4a0
commit 21d900baaa
2 changed files with 12 additions and 9 deletions

View File

@ -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;

View File

@ -47,6 +47,9 @@ var config = {
}
},
sessionKey: 'iJswK29klj20Jos02mJK8ud9239j23'
},
environment: {
mode : 'development'
}
};