diff options
| author | yo mama <pepper@scannerjammer.com> | 2015-04-30 15:08:01 -0700 |
|---|---|---|
| committer | yo mama <pepper@scannerjammer.com> | 2015-04-30 15:08:01 -0700 |
| commit | 03f45bb4225740f2ebe4adfd8de24f67d33ee0e3 (patch) | |
| tree | f555265c798f7d1dff25315e79eb90055f4bab74 /install | |
| parent | da8255b0ad5703837c315c082a6f69edc47754a7 (diff) | |
good
Diffstat (limited to 'install')
| -rw-r--r-- | install/pb_nginx.conf | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/install/pb_nginx.conf b/install/pb_nginx.conf new file mode 100644 index 0000000..994f69a --- /dev/null +++ b/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; + } +} + |
