diff options
| author | yo mama <pepper@scannerjammer.com> | 2015-09-22 00:51:40 -0700 |
|---|---|---|
| committer | yo mama <pepper@scannerjammer.com> | 2015-09-22 00:51:40 -0700 |
| commit | d3e7b5708deffbed864c916de22663f48333c58b (patch) | |
| tree | ef76784a7827baff88c03670bf22832a3f146b17 /share/install/pb_nginx.conf | |
| parent | 86c79f4372d7b2e7640a26473c7a4d331cdf7d16 (diff) | |
finishing server
Diffstat (limited to 'share/install/pb_nginx.conf')
| -rw-r--r-- | share/install/pb_nginx.conf | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/share/install/pb_nginx.conf b/share/install/pb_nginx.conf new file mode 100644 index 0000000..994f69a --- /dev/null +++ b/share/install/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; + } +} + |
