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

Commit

Permalink
#65: Add sprintf() directives to nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Rombauts committed Dec 12, 2017
1 parent b543623 commit e540e32
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions install/nginx/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
server {
listen 80;
server_name localhost;
listen *:%3$s;
server_name %1$s.test www.%1$s.test %1$s.dev www.%1$s.dev;

root /var/www/nooku-server/source;
root %2$s;

access_log /var/log/nginx/nooku-server.access.log;
error_log /var/log/nginx/nooku-server.error.log;
access_log /var/log/nginx/%1$s.access.log;
error_log /var/log/nginx/%1$s.error.log;

location = /robots.txt { access_log off; log_not_found off; }
location = /favicon.ico { access_log off; log_not_found off; }
Expand Down Expand Up @@ -45,11 +45,11 @@ server {
# for security reasons the next line is highly encouraged
try_files $uri =404;

fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_pass %4$s;
fastcgi_index index.php;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
include fastcgi_params;
}
Expand Down

0 comments on commit e540e32

Please sign in to comment.