Commit 036d9baa authored by Mark Harding's avatar Mark Harding
Browse files

(fix): nginx config

parent 54f6457d
......@@ -66,7 +66,7 @@ server {
}
# Do not cache if we have a logged in cookie
if ($cookie_loggedin = "1") {
if ($cookie_minds_sess) {
set $no_cache 1;
}
......@@ -88,9 +88,12 @@ server {
fastcgi_buffers 64 32k;
fastcgi_buffer_size 64k;
fastcgi_max_temp_file_size 0;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /var/www/Minds/engine/index.php;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param HTTP_AUTHORIZATION $http_authorization;
}
location ~* \.(jpg|jpeg|gif|png|css|js|ico|xml)$ {
......@@ -101,4 +104,4 @@ server {
log_not_found off;
deny all;
}
}
\ No newline at end of file
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment