projects
/
mlpccg-meta.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add error log
[mlpccg-meta.git]
/
data
/
nginx.conf
diff --git
a/data/nginx.conf
b/data/nginx.conf
index
a97d019
..
f6aa519
100644
(file)
--- a/
data/nginx.conf
+++ b/
data/nginx.conf
@@
-3,7
+3,12
@@
server {
server_name mlpccg-meta.yukkurigames.com;
access_log /var/log/nginx/mlpccg-meta.access.log;
server_name mlpccg-meta.yukkurigames.com;
access_log /var/log/nginx/mlpccg-meta.access.log;
-
+ error_log /var/log/nginx/mlpccg-meta.error.log;
+
+ location /favicon.ico {
+ alias /home/jessicatz/mlpccg-meta/static/favicon.ico;
+ }
+
location /static {
alias /home/jessicatz/mlpccg-meta/static;
}
location /static {
alias /home/jessicatz/mlpccg-meta/static;
}
@@
-13,7
+18,8
@@
server {
fastcgi_pass 127.0.0.1:9000;
# for a TCP host/port:
# fastcgi_pass {hostname}:{port};
fastcgi_pass 127.0.0.1:9000;
# for a TCP host/port:
# fastcgi_pass {hostname}:{port};
-
+ fastcgi_split_path_info ^()(.*)$;
+
# necessary parameter
fastcgi_param PATH_INFO $fastcgi_script_name;
# necessary parameter
fastcgi_param PATH_INFO $fastcgi_script_name;
@@
-24,5
+30,7
@@
server {
# http://stackoverflow.com/questions/605173/how-to-nginx-virtual-servers-fcgi-for-django uses many other parameters,
# some may be necessary in some situations
# http://stackoverflow.com/questions/605173/how-to-nginx-virtual-servers-fcgi-for-django uses many other parameters,
# some may be necessary in some situations
+
+ include fastcgi_params;
}
}
-}
\ No newline at end of file
+}