revert - will create a build system based on environment
parent
e544b6c4a0
commit
21d900baaa
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue