diff options
| author | Pepper <pepper@scannerjammer.com> | 2015-02-26 19:01:14 -0500 |
|---|---|---|
| committer | Pepper <pepper@scannerjammer.com> | 2015-02-26 19:01:14 -0500 |
| commit | 9eb0b682a9321fbae87db5ef9ddc4f2253467bc0 (patch) | |
| tree | f2c544418a1a26944fd318908a11e6a04cbc730f | |
| parent | e6e24d392288496c895003e7e9518674dea915cb (diff) | |
switched to fcgi
| -rw-r--r-- | pb_nginx.conf | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pb_nginx.conf b/pb_nginx.conf new file mode 100644 index 0000000..994f69a --- /dev/null +++ b/pb_nginx.conf @@ -0,0 +1,22 @@ +server { + + server_name asdf.us *.asdf.us; + + access_log /var/www/asdf.us/logs/nginx.access.log; + location / { + proxy_pass http://asdf.us:8002; + client_max_body_size 2252K; + } + location /im/api { + include fastcgi_params; + fastcgi_split_path_info ^()(.*)$; + fastcgi_param PATH_INFO $document_uri; + fastcgi_param QUERY_STRING $document_uri; + fastcgi_param HTTP_X_FORWARDED_HOST "asdf.us"; + fastcgi_pass localhost:8999; + } + location /donjuan/data/ { + rewrite ^/donjuan/data/(.*) http://i.asdf.us/donjuan_data/$1 permanent; + } +} + |
