Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

Commit

Permalink
Fixes for nginx configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Sep 14, 2014
1 parent 0d3731e commit 4115673
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/example-configs/nginx.phalcony.local.conf
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
server {
listen 80;
root /home/zaets28rus/projects/phalcon-module-phalcony-skeleton/public;
root /home/ovr/projects/ovr/phalcon-module-skeleton/public;
index index.php;

access_log /var/log/nginx/phalcony-module-acc.log;
error_log /var/log/nginx/phalcony-module--err.log;
error_log /var/log/nginx/phalcony-module-err.log;

server_name phalcony-module.local;
server_name phalcon-module.local;

location / {
if (!-f $request_filename) {
Expand All @@ -15,12 +15,10 @@ server {
}
}


location ~ \.(js|ico|gif|jpg|png|css)$" {
expires -1;
}


location ~ \.php$ {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
Expand Down

0 comments on commit 4115673

Please sign in to comment.